00001 // 00002 // Phoenix License, disclaimer, etc. up here 00003 // 00004 #ifndef PHX_CONFIG_H 00005 #define PHX_CONFIG_H 00006 00015 /* Include subordinate configuration files. */ 00016 #if defined(_MSC_VER) && HAVE_WINCONFIG_H 00017 /* Don't know much about MSVC, but ideally you'd like to be able to 00018 add HAVE_WINCONFIG_H as a compile option in the MSVC file so 00019 that it doesn't need to be in the code -- this is important for 00020 client code which might not have a winconfig.h */ 00021 #include "winconfig.h" 00022 #elif HAVE_CONFIG_H /* Automake-supported */ 00023 #include "config.h" 00024 #endif 00025 00026 /* Set Phoenix-defined configuration values */ 00027 00028 /* 00029 * Enables/disables code that is only used in debugging builds 00030 * 00031 * @note Presently left out since config.h (generated by configure 00032 * script) will define this based on a command-line option. 00033 */ 00034 /* #define PHX_DEBUG 0 */ 00035 00040 #define PHX_DOUBLE_PRECISION 1 00041 00046 #define PHX_BIG_ENDIAN (WORDS_BIGENDIAN) 00047 00048 #if HAVE_PTHREAD_H 00049 #include <pthread.h> 00050 #else 00051 #error pthread.h required but not found by configure. 00052 #endif 00053 00054 #endif /* PHX_CONFIG_H */
1.4.2