4 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix). */
5 #cmakedefine HAVE_ALLOCA_H 1
7 /* Use the Apple OpenGL framework. */
8 #cmakedefine HAVE_APPLE_OPENGL_FRAMEWORK 1
10 /* Define to 1 if you have the `gettimeofday' function. */
11 #cmakedefine HAVE_GETTIMEOFDAY 1
13 /* Define to 1 if you have the <inttypes.h> header file. */
14 #cmakedefine HAVE_INTTYPES_H 1
16 /* Define to 1 if you have the `isnan' function. */
17 #cmakedefine HAVE_ISNAN 1
19 /* Define to 1 if you have the `isnanf' function. */
20 #cmakedefine HAVE_ISNANF 1
22 /* Define to 1 if you have the <malloc.h> header file. */
23 #cmakedefine HAVE_MALLOC_H 1
25 /* Define to 1 if you have the `pthread_attr_setstacklazy' function. */
26 #cmakedefine HAVE_PTHREAD_ATTR_SETSTACKLAZY 1
28 /* Define to 1 if you have the `pthread_condattr_setclock' function. */
29 #cmakedefine HAVE_PTHREAD_CONDATTR_SETCLOCK 1
31 /* Define to 1 if you have the <stdint.h> header file. */
32 #cmakedefine HAVE_STDINT_H 1
34 /* Define to 1 if you have the <sys/time.h> header file. */
35 #cmakedefine HAVE_SYS_TIME_H 1
37 /* Define to 1 if you have the <sys/types.h> header file. */
38 #cmakedefine HAVE_SYS_TYPES_H 1
40 /* Define to 1 if you have the <unistd.h> header file. */
41 #cmakedefine HAVE_UNISTD_H 1
43 /* Define to 1 if you have the `_isnan' function. */
44 #cmakedefine HAVE__ISNAN 1
46 /* Define to 1 if you have the `_isnanf' function. */
47 #cmakedefine HAVE__ISNANF 1
49 /* Define to 1 if you have the `__isnan' function. */
50 #cmakedefine HAVE___ISNAN 1
52 /* Define to 1 if you have the `__isnanf' function. */
53 #cmakedefine HAVE___ISNANF 1
55 /* compiling for a pentium on a gcc-based platform? */
56 #cmakedefine PENTIUM 1
58 /* compiling for a X86_64 system on a gcc-based platform? */
59 #cmakedefine X86_64_SYSTEM 1
61 /* Try to identify the platform */
63 #define ODE_PLATFORM_XBOX360
64 #elif defined(SN_TARGET_PSP_HW)
65 #define ODE_PLATFORM_PSP
66 #elif defined(SN_TARGET_PS3)
67 #define ODE_PLATFORM_PS3
68 #elif defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__)
69 #define ODE_PLATFORM_WINDOWS
70 #elif defined(__linux__)
71 #define ODE_PLATFORM_LINUX
72 #elif defined(__APPLE__) && defined(__MACH__)
73 #define ODE_PLATFORM_OSX
74 #elif defined(__FreeBSD__)
75 #define ODE_PLATFORM_FREEBSD
77 #error "Need some help identifying the platform!"
80 /* Additional platform defines used in the code */
81 #if defined(ODE_PLATFORM_WINDOWS) && !defined(WIN32)
85 #if defined(__CYGWIN__) || defined(__MINGW32__)
89 #if defined(ODE_PLATFORM_OSX)
105 #ifdef HAVE_INTTYPES_H
106 #include <inttypes.h>
109 #include "typedefs.h"
111 #endif // ODE_CONFIG_H