From 79eca25c945a535a7a0325999034bae17da92412 Mon Sep 17 00:00:00 2001 From: dan miller Date: Fri, 19 Oct 2007 05:15:33 +0000 Subject: resubmitting ode --- .../Mac_CFMCarbon/mac_source/include/GL/gl.h | 2 + .../Mac_CFMCarbon/mac_source/include/GL/glu.h | 2 + .../Mac_CFMCarbon/mac_source/include/ode/config.h | 52 ++++++++++++++++++++++ 3 files changed, 56 insertions(+) create mode 100644 libraries/ode-0.9/contrib/Mac_CFMCarbon/mac_source/include/GL/gl.h create mode 100644 libraries/ode-0.9/contrib/Mac_CFMCarbon/mac_source/include/GL/glu.h create mode 100644 libraries/ode-0.9/contrib/Mac_CFMCarbon/mac_source/include/ode/config.h (limited to 'libraries/ode-0.9/contrib/Mac_CFMCarbon/mac_source/include') 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 @@ +// A little hackaround (Apple use / in the FILENAME, which doesn't work when following DOS paths) +#include \ 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 @@ +// A little hackaround (Apple use / in the FILENAME, which doesn't work when following DOS paths) +#include \ 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 @@ +/* This file has been manually hacked together for the Mac CFM Carbon build - Frank. */ + +#ifndef _ODE_CONFIG_H_ +#define _ODE_CONFIG_H_ + +/* standard system headers */ +#include +#include +#include +#include +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/* #define PENTIUM 1 -- not a pentium */ + +/* integer types (we assume int >= 32 bits) */ +typedef char int8; +typedef unsigned char uint8; +typedef int int32; +typedef unsigned int uint32; + +/* an integer type that we can safely cast a pointer to and from without loss of bits. */ +typedef unsigned int intP; + +#ifdef PRECISION_DOUBLE + + /*select the base floating point type*/ + #define dDOUBLE 1 + + /* the floating point infinity */ + #define dInfinity DBL_MAX + +#else + + /* select the base floating point type */ + #define dSINGLE 1 + + /* the floating point infinity */ + #define dInfinity FLT_MAX + +#endif + +#ifdef __cplusplus +} +#endif +#endif \ No newline at end of file -- cgit v1.1