OFFIS DCMTK Version 3.6.0
|
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 "dcmtk/config/cfunix.h" should be used. 00020 ** Since June 23rd 2010, it is also possible to configure windows and 00021 ** unix builds of DCMTK with CMake. In that case, all includes in this 00022 ** directory are _not_ used (cfunix.h, cfwin32.h, osconfig.h), since CMake 00023 ** builds osconfig.h directly and stores it in another directory. 00024 ** 00025 ** Thus, this file is only included if DCMTK is configured traditionally 00026 * with configure. 00027 */ 00028 00029 #ifdef HAVE_CONFIG_H 00030 /* 00031 ** Some sort of Unix platform supported by the GNU Configure utility. 00032 ** Just include the automatically generated header file. If CMake is used 00033 * for configuring a unix build instead of the traditional configure method, 00034 * cfunix.h is not used. 00035 */ 00036 #include "dcmtk/config/cfunix.h" 00037 /* 00038 ** Earlier, on windows sytems, cfwin32.h was included if DCMTK was built under 00039 * windows. However, now osconfig.h is now automatically generated by CMake 00040 * which makes this inclusion (and cfwin32.h in general) obsolete. 00041 * 00042 */ 00043 #endif 00044 00045 #endif /* !OSCONFIG_H*/