1 /* Copyright (C) 2011 2 * All Rights Reserved. 3 * This code is published under the Eclipse Public License. 4 * 5 * $Id: OsiConfig.h 1754 2011-06-19 16:07:57Z stefan $ 6 * 7 * Include file for the configuration of Osi. 8 * 9 * On systems where the code is configured with the configure script 10 * (i.e., compilation is always done with HAVE_CONFIG_H defined), this 11 * header file includes the automatically generated header file. 12 * 13 * On systems that are compiled in other ways (e.g., with the 14 * Developer Studio), a header files is included to define those 15 * macros that depend on the operating system and the compiler. The 16 * macros that define the configuration of the particular user setting 17 * (e.g., presence of other COIN-OR packages or third party code) are set 18 * by the files config_*default.h. The project maintainer needs to remember 19 * to update these file and choose reasonable defines. 20 * A user can modify the default setting by editing the config_*default.h files. 21 */ 22 23 #ifndef __OSICONFIG_H__ 24 #define __OSICONFIG_H__ 25 26 #ifdef HAVE_CONFIG_H 27 #ifdef OSI_BUILD 28 #include "config.h" 29 #else 30 #include "config_osi.h" 31 #endif 32 33 #else /* HAVE_CONFIG_H */ 34 35 #ifdef OSI_BUILD 36 #include "config_default.h" 37 #else 38 #include "config_osi_default.h" 39 #endif 40 41 #endif /* HAVE_CONFIG_H */ 42 43 #endif /*__OSICONFIG_H__*/ 44