Revision 657,
1.1 KB
checked in by mattausch, 19 years ago
(diff) |
added ogre dependencies and patched ogre sources
|
Rev | Line | |
---|
[657] | 1 | /* per-machine configuration. this file is automatically generated. */
|
---|
| 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 <float.h>
|
---|
| 14 |
|
---|
| 15 | #ifdef __cplusplus
|
---|
| 16 | extern "C" {
|
---|
| 17 | #endif
|
---|
| 18 |
|
---|
| 19 | /* is this a pentium on a gcc-based platform? */
|
---|
| 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 short int16;
|
---|
| 26 | typedef unsigned short uint16;
|
---|
| 27 | typedef int int32;
|
---|
| 28 | typedef unsigned int uint32;
|
---|
| 29 |
|
---|
| 30 | /* an integer type that we can safely cast a pointer to and
|
---|
| 31 | * from without loss of bits.
|
---|
| 32 | */
|
---|
| 33 | typedef unsigned int intP;
|
---|
| 34 |
|
---|
| 35 | /* select the base floating point type */
|
---|
| 36 | #define dSINGLE 1
|
---|
| 37 |
|
---|
| 38 | /* the floating point infinity */
|
---|
| 39 | #define dInfinity FLT_MAX
|
---|
| 40 |
|
---|
| 41 | /* available functions */
|
---|
| 42 | #define copysignf copysign
|
---|
| 43 | #define copysign _copysign
|
---|
| 44 | #define snprintf _snprintf
|
---|
| 45 | #define vsnprintf _vsnprintf
|
---|
| 46 |
|
---|
| 47 | #ifdef __cplusplus
|
---|
| 48 | }
|
---|
| 49 | #endif
|
---|
| 50 | #endif
|
---|
Note: See
TracBrowser
for help on using the repository browser.