Changeset 8071 for code/branches/kicklib/src/OrxonoxConfig.h.in
- Timestamp:
- Mar 14, 2011, 3:53:38 AM (14 years ago)
- Location:
- code/branches/kicklib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/kicklib
-
code/branches/kicklib/src/OrxonoxConfig.h.in
r7818 r8071 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 syntax. 165 // Note: This requires some extra code in OrxonoxConfig.cmake 166 #if @HAVE_STDINT_H@ 162 167 # include <stdint.h> 163 168 #elif defined(ORXONOX_COMPILER_MSVC)
Note: See TracChangeset
for help on using the changeset viewer.