diff options
author | dan miller | 2007-10-19 05:20:48 +0000 |
---|---|---|
committer | dan miller | 2007-10-19 05:20:48 +0000 |
commit | d48ea5bb797037069d641da41da0f195f0124491 (patch) | |
tree | 40ff433d94859d629aac933d5ec73b382f62ba1a /libraries/ode-0.9/contrib/Mac_CFMCarbon/mac_source/include | |
parent | dont ask (diff) | |
download | opensim-SC-d48ea5bb797037069d641da41da0f195f0124491.zip opensim-SC-d48ea5bb797037069d641da41da0f195f0124491.tar.gz opensim-SC-d48ea5bb797037069d641da41da0f195f0124491.tar.bz2 opensim-SC-d48ea5bb797037069d641da41da0f195f0124491.tar.xz |
one more for the gipper
Diffstat (limited to 'libraries/ode-0.9/contrib/Mac_CFMCarbon/mac_source/include')
3 files changed, 56 insertions, 0 deletions
diff --git a/libraries/ode-0.9/contrib/Mac_CFMCarbon/mac_source/include/GL/gl.h b/libraries/ode-0.9/contrib/Mac_CFMCarbon/mac_source/include/GL/gl.h new file mode 100644 index 0000000..4acaeed --- /dev/null +++ b/libraries/ode-0.9/contrib/Mac_CFMCarbon/mac_source/include/GL/gl.h | |||
@@ -0,0 +1,2 @@ | |||
1 | // A little hackaround (Apple use / in the FILENAME, which doesn't work when following DOS paths) | ||
2 | #include <gl.h> \ No newline at end of file | ||
diff --git a/libraries/ode-0.9/contrib/Mac_CFMCarbon/mac_source/include/GL/glu.h b/libraries/ode-0.9/contrib/Mac_CFMCarbon/mac_source/include/GL/glu.h new file mode 100644 index 0000000..5b4a791 --- /dev/null +++ b/libraries/ode-0.9/contrib/Mac_CFMCarbon/mac_source/include/GL/glu.h | |||
@@ -0,0 +1,2 @@ | |||
1 | // A little hackaround (Apple use / in the FILENAME, which doesn't work when following DOS paths) | ||
2 | #include <glu.h> \ No newline at end of file | ||
diff --git a/libraries/ode-0.9/contrib/Mac_CFMCarbon/mac_source/include/ode/config.h b/libraries/ode-0.9/contrib/Mac_CFMCarbon/mac_source/include/ode/config.h new file mode 100644 index 0000000..bb889f9 --- /dev/null +++ b/libraries/ode-0.9/contrib/Mac_CFMCarbon/mac_source/include/ode/config.h | |||
@@ -0,0 +1,52 @@ | |||
1 | /* This file has been manually hacked together for the Mac CFM Carbon build - Frank. */ | ||
2 | |||
3 | #ifndef _ODE_CONFIG_H_ | ||
4 | #define _ODE_CONFIG_H_ | ||
5 | |||
6 | /* standard system headers */ | ||
7 | #include <stdio.h> | ||
8 | #include <stdlib.h> | ||
9 | #include <math.h> | ||
10 | #include <string.h> | ||
11 | #include <stdarg.h> | ||
12 | #include <malloc.h> | ||
13 | #include <alloca.h> | ||
14 | #include <float.h> | ||
15 | |||
16 | #ifdef __cplusplus | ||
17 | extern "C" { | ||
18 | #endif | ||
19 | |||
20 | /* #define PENTIUM 1 -- not a pentium */ | ||
21 | |||
22 | /* integer types (we assume int >= 32 bits) */ | ||
23 | typedef char int8; | ||
24 | typedef unsigned char uint8; | ||
25 | typedef int int32; | ||
26 | typedef unsigned int uint32; | ||
27 | |||
28 | /* an integer type that we can safely cast a pointer to and from without loss of bits. */ | ||
29 | typedef unsigned int intP; | ||
30 | |||
31 | #ifdef PRECISION_DOUBLE | ||
32 | |||
33 | /*select the base floating point type*/ | ||
34 | #define dDOUBLE 1 | ||
35 | |||
36 | /* the floating point infinity */ | ||
37 | #define dInfinity DBL_MAX | ||
38 | |||
39 | #else | ||
40 | |||
41 | /* select the base floating point type */ | ||
42 | #define dSINGLE 1 | ||
43 | |||
44 | /* the floating point infinity */ | ||
45 | #define dInfinity FLT_MAX | ||
46 | |||
47 | #endif | ||
48 | |||
49 | #ifdef __cplusplus | ||
50 | } | ||
51 | #endif | ||
52 | #endif \ No newline at end of file | ||