Changeset 8284 for code/branches/kicklib2/src/OrxonoxConfig.h.in
- Timestamp:
- Apr 21, 2011, 6:58:23 PM (14 years ago)
- Location:
- code/branches/kicklib2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/kicklib2
- Property svn:mergeinfo changed
-
code/branches/kicklib2/src/OrxonoxConfig.h.in
r7818 r8284 80 80 81 81 // Architecture 82 #cmakedefine ORXONOX_ARCH_32 83 #cmakedefine ORXONOX_ARCH_64 82 #if defined(__x86_64__) || defined(_M_X64) || defined(__powerpc64__) || defined(__alpha__) || defined(__ia64__) || defined(__s390__) || defined(__s390x__) 83 # define ORXONOX_ARCH_64 84 #else 85 # define ORXONOX_ARCH_32 86 #endif 84 87 85 88 // See if we can use __forceinline or if we need to use __inline instead 86 89 #cmakedefine HAVE_FORCEINLINE 87 #ifndef FORCEINLINE90 #ifndef ORX_FORCEINLINE 88 91 # ifdef HAVE_FORCEINLINE 89 # define FORCEINLINE __forceinline92 # define ORX_FORCEINLINE __forceinline 90 93 # else 91 # define FORCEINLINE __inline94 # define ORX_FORCEINLINE __inline 92 95 # endif 93 96 #endif … … 158 161 #endif 159 162 160 #cmakedefine HAVE_STDINT_H 161 #ifdef HAVE_STDINT_H 163 // On OS X some headers already define HAVE_STDINT_H and that spits out 164 // some warnings. Therefore we use this macro. 165 // Note: This requires some extra code in OrxonoxConfig.cmake 166 #cmakedefine ORX_HAVE_STDINT_H 167 #ifdef ORX_HAVE_STDINT_H 162 168 # include <stdint.h> 163 169 #elif defined(ORXONOX_COMPILER_MSVC)
Note: See TracChangeset
for help on using the changeset viewer.