Changeset 8045 for code/branches/mac_osx
- Timestamp:
- Mar 8, 2011, 6:27:31 AM (14 years ago)
- Location:
- code/branches/mac_osx/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/mac_osx/src/OrxonoxConfig.cmake
r7681 r8045 69 69 ENDIF(MSVC) 70 70 71 # Part of a woraround for OS X warnings. See OrxonoxConfig.h.in72 IF(HAVE_STDINT_H)73 SET(HAVE_STDINT_H 1)74 ELSE()75 SET(HAVE_STDINT_H 0)76 ENDIF()77 78 71 # Check iso646.h include (literal operators) 79 72 INCLUDE(CheckIncludeFileCXX) 80 73 CHECK_INCLUDE_FILE_CXX(iso646.h HAVE_ISO646_H) 74 75 # Part of a woraround for OS X warnings. See OrxonoxConfig.h.in 76 SET(ORX_HAVE_STD_INT HAVE_STDINT_H) 81 77 82 78 ############## Configured Headers ############### -
code/branches/mac_osx/src/OrxonoxConfig.h.in
r7621 r8045 162 162 163 163 // On OS X some headers already define HAVE_STDINT_H and that spits out 164 // some warnings. Therefore we use this syntax.164 // some warnings. Therefore we use this macro. 165 165 // Note: This requires some extra code in OrxonoxConfig.cmake 166 #if @HAVE_STDINT_H@ 166 #cmakedefine ORX_HAVE_STDINT_H 167 #ifdef ORX_HAVE_STDINT_H 167 168 # include <stdint.h> 168 169 #elif defined(ORXONOX_COMPILER_MSVC)
Note: See TracChangeset
for help on using the changeset viewer.