00001 /* $Id: OSConfig.h 3488 2010-04-29 20:16:06Z kmartin $ */ 00002 /* 00003 * Include file for the configuration of OS. 00004 * 00005 * On systems where the code is configured with the configure script 00006 * (i.e., compilation is always done with HAVE_CONFIG_H defined), this 00007 * header file includes the automatically generated header file, and 00008 * undefines macros that might configure with other Config.h files. 00009 * 00010 * On systems that are compiled in other ways (e.g., with the 00011 * Developer Studio), a header files is included to define those 00012 * macros that depend on the operating system and the compiler. The 00013 * macros that define the configuration of the particular user setting 00014 * (e.g., presence of other COIN packages or third party code) are set 00015 * here. The project maintainer needs to remember to update this file 00016 * and choose reasonable defines. A user can modify the default 00017 * setting by editing this file here. 00018 * 00019 */ 00020 00021 00022 00023 00024 #ifndef __OSCONFIG_H__ 00025 #define __COINUTILSCONFIG_H__ 00026 00027 00028 00029 #ifdef HAVE_CONFIG_H 00030 #include "config_os.h" 00031 00032 00033 //#ifndef MSVISUALSTUDIO 00034 //#include "config_os.h" 00035 //#endif 00036 00037 /* undefine macros that could conflict with those in other config.h 00038 files */ 00039 #undef PACKAGE 00040 #undef PACKAGE_BUGREPORT 00041 #undef PACKAGE_NAME 00042 #undef PACKAGE_STRING 00043 #undef PACKAGE_TARNAME 00044 #undef PACKAGE_VERSION 00045 #undef VERSION 00046 00047 #else /* HAVE_CONFIG_H NOT DEFINED */ 00048 00049 /* include the COIN-wide system specific configure header */ 00050 // kipp look at this later 00051 #include "configall_system.h" 00052 00053 #ifdef _MSC_VER /* for MicroSoft Visual Studio */ 00054 00055 /***************************************************************************/ 00056 /* HERE DEFINE THE CONFIGURATION SPECIFIC MACROS */ 00057 /***************************************************************************/ 00058 00059 /* If defined, debug sanity checks are performed during runtime */ 00060 /* #define COIN_DEBUG 1 */ 00061 00062 /* Define to 1 if the Clp package is used */ 00063 #define COIN_HAS_CLP 1 00064 00065 /* Define to 1 if the Cgl package is used */ 00066 #define COIN_HAS_CGL 1 00067 00068 /* Define to 1 if the CoinUtils package is used */ 00069 #define COIN_HAS_COINUTILS 1 00070 00071 /* Define to 1 if the OSI package is used */ 00072 #define COIN_HAS_OSI 1 00073 00074 /* Define to 1 if the DyLP package is used */ 00075 // #define COIN_HAS_DYLP 1 00076 00077 /* Define to 1 if the OSI package is used */ 00078 #define COIN_HAS_OSI 1 00079 00080 /* Define to 1 if the SYMPHONY package is used */ 00081 #define COIN_HAS_SYMPHONY 1 00082 00083 /* Define to 1 if the Vol package is used */ 00084 #define COIN_HAS_VOL 1 00085 00086 /* Define to 1 if the CppAD package is used */ 00087 #define COIN_HAS_CPPAD 1 00088 00089 /* Needed for OSFileUpload */ 00090 #ifndef MY_C_FINITE 00091 #define MY_C_FINITE _finite 00092 #endif 00093 00094 #endif 00095 00096 // needed for cygwin gcc 3.*,* 00097 #endif /* HAVE_CONFIG_H NOT DEFINED */ 00098 #ifndef OS_VERSION 00099 #define OS_VERSION "2.1" 00100 #endif 00101 #endif /*__OSCONFIG_H___*/ 00102 //#ifdef WIN_ 00103 // #ifndef _SYS_UNISTD_H 00104 // #define _SYS_UNISTD_H 00105 // #endif 00106 //#endif