forked from speed-dreams/speed-dreams-code
Re #307 Explaning comment for -DNOMINMAX under WIN32
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@4855 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 20a0fd4b7a879384f957ebc39941654fa641f030 Former-commit-id: fa164499cf8142eb689773581186841b457ed089
This commit is contained in:
parent
d7e75086ba
commit
c88854ce97
1 changed files with 2 additions and 1 deletions
|
@ -15,7 +15,8 @@ ADD_PLIB_INCLUDEDIR()
|
|||
ADD_SDL_INCLUDEDIR()
|
||||
|
||||
IF(WIN32)
|
||||
# What for ? Comment please !
|
||||
# Inhibit definition of Macros min(a,b) and max(a,b) on Windows
|
||||
# as the names conflict with the template functions from SGMisc.h
|
||||
ADD_DEFINITIONS(-DNOMINMAX)
|
||||
|
||||
# DLL export stuff under Windows (to avoid .def file)
|
||||
|
|
Loading…
Reference in a new issue