1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119
|
/*
* Inventor/system/inttypes.h and config.h defines some of the same
* definitions, which cause warnings with a lot of compilers.
*
* When including config.h, we therefore undefine those definitions
* first if they are defined. The reverse is not necessary, as the
* inttypes.h file contains the necessary wrapper protection.
*
* This header, like the config.h header, should not be installed on
* the system.
*/
#ifndef COIN_INTERNAL
#error this is a private header file
#endif /* !COIN_INTERNAL */
#ifdef COIN_CONFIGURE_BUILD
#undef COIN_CONFIGURE_BUILD
#endif
#ifdef COIN_CONFIGURE_HOST
#undef COIN_CONFIGURE_HOST
#endif
#ifdef COIN_CONFIGURE_TARGET
#undef COIN_CONFIGURE_TARGET
#endif
#ifdef HAVE_INTTYPES_H
#undef HAVE_INTTYPES_H
#endif
#ifdef HAVE_STDINT_H
#undef HAVE_STDINT_H
#endif
#ifdef HAVE_SYS_TYPES_H
#undef HAVE_SYS_TYPES_H
#endif
#ifdef HAVE_INT8_T
#undef HAVE_INT8_T
#endif
#ifdef HAVE_UINT8_T
#undef HAVE_UINT8_T
#endif
#ifdef HAVE_INT16_T
#undef HAVE_INT16_T
#endif
#ifdef HAVE_UINT16_T
#undef HAVE_UINT16_T
#endif
#ifdef HAVE_INT32_T
#undef HAVE_INT32_T
#endif
#ifdef HAVE_UINT32_T
#undef HAVE_UINT32_T
#endif
#ifdef HAVE_INT64_T
#undef HAVE_INT64_T
#endif
#ifdef HAVE_UINT64_T
#undef HAVE_UINT64_T
#endif
#ifdef COIN_INT8_T
#undef COIN_INT8_T
#endif
#ifdef COIN_UINT8_T
#undef COIN_UINT8_T
#endif
#ifdef COIN_INT16_T
#undef COIN_INT16_T
#endif
#ifdef COIN_UINT16_T
#undef COIN_UINT16_T
#endif
#ifdef COIN_INT32_T
#undef COIN_INT32_T
#endif
#ifdef COIN_UINT32_T
#undef COIN_UINT32_T
#endif
#ifdef COIN_INT64_T
#undef COIN_INT64_T
#endif
#ifdef COIN_UINT64_T
#undef COIN_UINT64_T
#endif
#ifdef COIN_MAJOR_VERSION
#undef COIN_MAJOR_VERSION
#endif
#ifdef COIN_MICRO_VERSION
#undef COIN_MICRO_VERSION
#endif
#ifdef COIN_MINOR_VERSION
#undef COIN_MINOR_VERSION
#endif
#ifdef COIN_VERSION
#undef COIN_VERSION
#endif
|