00001 #ifndef OSCONFIG_H 00002 #define OSCONFIG_H 00003 00004 /* 00005 ** Define enclosures for include files with C linkage (mostly system headers) 00006 */ 00007 #ifdef __cplusplus 00008 #define BEGIN_EXTERN_C extern "C" { 00009 #define END_EXTERN_C } 00010 #else 00011 #define BEGIN_EXTERN_C 00012 #define END_EXTERN_C 00013 #endif 00014 00015 00016 /* 00017 ** This head includes an OS/Compiler specific configuration header. 00018 ** Add entries for specific non-unix OS/Compiler environments. 00019 ** Under unix the default <cfunix.h> should be used. 00020 ** 00021 */ 00022 00023 #ifdef HAVE_CONFIG_H 00024 /* 00025 ** Some sort of Unix platform supported by the GNU Configure utility. 00026 ** Just include the automatically generated <cfunix.h> 00027 */ 00028 #include "cfunix.h" 00029 00030 #elif defined(_WIN32) 00031 /* 00032 ** Visual C++ in a Windows 32 bit environment (Windows 9x/Me/NT/2000/XP) 00033 */ 00034 #include "cfwin32.h" 00035 00036 #else 00037 /* 00038 ** Don't know what sort of machine this is 00039 */ 00040 #endif 00041 00042 #endif /* !OSCONFIG_H*/