Go to the documentation of this file. 35 #define __zconfigl__ 1 43 #ifndef ZCONFIG_ResourceCompilerInvoked 44 # if defined(mw_rez) || defined(RC_INVOKED) || defined(BE_RES_COMPILE) 45 # define ZCONFIG_ResourceCompilerInvoked 1 47 # define ZCONFIG_ResourceCompilerInvoked 0 52 #if !ZCONFIG_ResourceCompilerInvoked 53 # ifndef ZCONFIG_Compiler 54 # if defined(__MWERKS__) 55 # define ZCONFIG_Compiler ZCONFIG_Compiler_CodeWarrior 56 # elif defined(__GNUC__) 57 # define ZCONFIG_Compiler ZCONFIG_Compiler_GCC 58 # elif defined(_MSC_VER) 59 # define ZCONFIG_Compiler ZCONFIG_Compiler_MSVC 62 # ifndef ZCONFIG_Compiler 63 # error "Don't know what compiler we're using." 70 #if defined(RC_INVOKED) 71 # define ZCONFIG_OS ZCONFIG_OS_Win32 73 # define ZCONFIG_OS ZCONFIG_OS_MacOS7 74 #elif defined(BE_RES_COMPILE) 75 # define ZCONFIG_OS ZCONFIG_OS_Be 78 #if !ZCONFIG_ResourceCompilerInvoked 80 # if defined(__MWERKS__) 81 # if TARGET_API_MAC_CARBON 82 # define ZCONFIG_OS ZCONFIG_OS_Carbon 84 # define ZCONFIG_OS ZCONFIG_OS_MacOS7 86 # define ZCONFIG_OS ZCONFIG_OS_Win32 88 # define ZCONFIG_OS ZCONFIG_OS_Be 90 # elif defined(__GNUC__) 91 # if defined(__unix__) || defined( __APPLE__ ) 92 # define ZCONFIG_OS ZCONFIG_OS_POSIX 94 # define ZCONFIG_OS ZCONFIG_OS_Be 96 # elif defined(_MSC_VER) 97 # define ZCONFIG_OS ZCONFIG_OS_Win32 101 # error "Don't know what OS we're using." 108 #if !ZCONFIG_ResourceCompilerInvoked 110 # if defined(__MWERKS__) 111 # define ZCONFIG_STL ZCONFIG_STL_Modena 113 # define ZCONFIG_STL ZCONFIG_STL_Unknown 121 #if !ZCONFIG_ResourceCompilerInvoked 122 # ifndef ZCONFIG_Processor 123 # if defined(__MWERKS__) 125 # define ZCONFIG_Processor ZCONFIG_Processor_PPC 126 # elif __MC68K__ || defined(mw_rez) 127 # define ZCONFIG_Processor ZCONFIG_Processor_68K 128 # elif __INTEL__ || defined(RC_INVOKED) 129 # define ZCONFIG_Processor ZCONFIG_Processor_x86 131 # elif defined(__GNUC__) 133 # define ZCONFIG_Processor ZCONFIG_Processor_x86 135 # define ZCONFIG_Processor ZCONFIG_Processor_Sparc 136 # elif #cpu(powerpc) || defined( __POWERPC__ ) 137 # define ZCONFIG_Processor ZCONFIG_Processor_PPC 139 # elif defined(_MSC_VER) 140 # define ZCONFIG_Processor ZCONFIG_Processor_x86 143 # ifndef ZCONFIG_Processor 144 # error "Don't know what processor we're using." 152 #ifndef ZCONFIG_Endian 153 # if !ZCONFIG_ResourceCompilerInvoked && !defined(ZCONFIG_Endian) 154 # if (ZCONFIG_Processor == ZCONFIG_Processor_x86) 155 # define ZCONFIG_Endian ZCONFIG_Endian_Little 157 # define ZCONFIG_Endian ZCONFIG_Endian_Big 173 #ifndef ZCONFIG_DebugLevel 174 # define ZCONFIG_DebugLevel 1 179 #ifndef ZCONFIG_Debug 180 # if defined(__MWERKS__) 181 # if __option(sym) && !ZCONFIG_ResourceCompilerInvoked 182 # define ZCONFIG_Debug ZCONFIG_DebugLevel 184 # define ZCONFIG_Debug 0 188 # define ZCONFIG_Debug ZCONFIG_DebugLevel 190 # define ZCONFIG_Debug 0 195 #ifndef ZCONFIG_Debug 196 # error "Can't figure out if we're debugging." 202 #if !ZCONFIG_ResourceCompilerInvoked 203 # ifndef ZCONFIG_API_Thread 204 # if ZCONFIG_OS_MacOS7 == ZCONFIG_OS 205 # define ZCONFIG_API_Thread ZCONFIG_API_Thread_Mac 206 # elif ZCONFIG_OS_Carbon == ZCONFIG_OS 207 # define ZCONFIG_API_Thread ZCONFIG_API_Thread_Mac 208 # elif ZCONFIG_OS_Win32 == ZCONFIG_OS 209 # define ZCONFIG_API_Thread ZCONFIG_API_Thread_Win32 210 # elif ZCONFIG_OS_POSIX == ZCONFIG_OS 211 # define ZCONFIG_API_Thread ZCONFIG_API_Thread_POSIX 212 # elif ZCONFIG_OS_Be == ZCONFIG_OS 213 # define ZCONFIG_API_Thread ZCONFIG_API_Thread_Be 216 # ifndef ZCONFIG_API_Thread 217 # error "Don't know what thread API we're using" 222 #ifndef ZCONFIG_Fiber_ThreadManager 223 # define ZCONFIG_Fiber_ThreadManager 1 229 #if !ZCONFIG_ResourceCompilerInvoked 230 # ifndef ZCONFIG_API_OSWindow 231 # if ZCONFIG_OS_MacOS7 == ZCONFIG_OS 232 # define ZCONFIG_API_OSWindow ZCONFIG_API_OSWindow_Mac 233 # elif ZCONFIG_OS_Carbon == ZCONFIG_OS 234 # define ZCONFIG_API_OSWindow ZCONFIG_API_OSWindow_Mac 235 # elif ZCONFIG_OS_Win32 == ZCONFIG_OS 236 # define ZCONFIG_API_OSWindow ZCONFIG_API_OSWindow_Win32 237 # elif ZCONFIG_OS_POSIX == ZCONFIG_OS 238 # define ZCONFIG_API_OSWindow ZCONFIG_API_OSWindow_X 239 # elif ZCONFIG_OS_Be == ZCONFIG_OS 240 # define ZCONFIG_API_OSWindow ZCONFIG_API_OSWindow_Be 245 #ifndef ZCONFIG_API_OSWindow 246 # define ZCONFIG_API_OSWindow ZCONFIG_API_Window_Unknown 252 #if !ZCONFIG_ResourceCompilerInvoked 253 # ifndef ZCONFIG_API_Graphics 254 # if ZCONFIG_OS_MacOS7 == ZCONFIG_OS 255 # define ZCONFIG_API_Graphics ZCONFIG_API_Graphics_QD 256 # elif ZCONFIG_OS_Carbon == ZCONFIG_OS 257 # define ZCONFIG_API_Graphics ZCONFIG_API_Graphics_QD 258 # elif ZCONFIG_OS_Win32 == ZCONFIG_OS 259 # define ZCONFIG_API_Graphics ZCONFIG_API_Graphics_GDI 260 # elif ZCONFIG_OS_POSIX == ZCONFIG_OS 261 # define ZCONFIG_API_Graphics ZCONFIG_API_Graphics_X 262 # elif ZCONFIG_OS_Be == ZCONFIG_OS 263 # define ZCONFIG_API_Graphics ZCONFIG_API_Graphics_Be 268 #ifndef ZCONFIG_API_Graphics 269 # define ZCONFIG_API_Graphics ZCONFIG_API_Graphics_Unknown 273 #define ZCONFIG_API_Graphics_Multi\ 275 ZCONFIG_API_Graphics_QD != ZCONFIG_API_Graphics &&\ 276 ZCONFIG_API_Graphics_GDI != ZCONFIG_API_Graphics &&\ 277 ZCONFIG_API_Graphics_X != ZCONFIG_API_Graphics &&\ 278 ZCONFIG_API_Graphics_Be != ZCONFIG_API_Graphics &&\ 279 ZCONFIG_API_Graphics_Generic != ZCONFIG_API_Graphics\ 285 #if !ZCONFIG_ResourceCompilerInvoked 286 # ifndef ZCONFIG_API_File 287 # if ZCONFIG_OS_MacOS7 == ZCONFIG_OS 288 # define ZCONFIG_API_File ZCONFIG_API_File_Mac 289 # elif ZCONFIG_OS_Carbon == ZCONFIG_OS 290 # define ZCONFIG_API_File ZCONFIG_API_File_Mac 291 # elif ZCONFIG_OS_Win32 == ZCONFIG_OS 292 # define ZCONFIG_API_File ZCONFIG_API_File_Win32 293 # elif ZCONFIG_OS_POSIX == ZCONFIG_OS 294 # define ZCONFIG_API_File ZCONFIG_API_File_POSIX 295 # elif ZCONFIG_OS_Be == ZCONFIG_OS 296 # define ZCONFIG_API_File ZCONFIG_API_File_Be 301 #ifndef ZCONFIG_API_File 302 # define ZCONFIG_API_File ZCONFIG_API_File_Unknown 308 #if !ZCONFIG_ResourceCompilerInvoked 309 # ifndef ZCONFIG_API_Net 310 # if ZCONFIG_OS_MacOS7 == ZCONFIG_OS 311 # define ZCONFIG_API_Net ZCONFIG_API_Net_MacClassic 312 # elif ZCONFIG_OS_Carbon == ZCONFIG_OS 313 # define ZCONFIG_API_Net ZCONFIG_API_Net_MacOT 314 # elif ZCONFIG_OS_Win32 == ZCONFIG_OS 315 # define ZCONFIG_API_Net ZCONFIG_API_Net_WinSock 316 # elif ZCONFIG_OS_POSIX == ZCONFIG_OS 317 # define ZCONFIG_API_Net ZCONFIG_API_Net_Socket 318 # elif ZCONFIG_OS_Be == ZCONFIG_OS 319 # define ZCONFIG_API_Net ZCONFIG_API_Net_BeSocket 324 #ifndef ZCONFIG_API_Net 325 # define ZCONFIG_API_Net ZCONFIG_API_Net_Unknown 334 #ifndef ZCONFIG_NamespaceHack 335 # define ZCONFIG_NamespaceHack 0 338 #if ZCONFIG_NamespaceHack && defined(__cplusplus) && !ZCONFIG_ResourceCompilerInvoked 345 #if defined(__MWERKS__) 346 # if __option(precompile) 347 # error "Don't precompile zconfig -- settings on individual files will not match claimed configuration settings." 350 # define NEWMODE NEWMODE_MALLOC 352 # if !ZCONFIG_Fiber_ThreadManager 355 # error "_MWMT must be 1 when not using Thread Manager -- check your headers to see who set it to zero." 361 # define MSL_USE_PRECOMPILED_HEADERS 0 366 #if defined(_MSC_VER) 368 # error "_MT is not defined. ZooLib requires thread safe libraries and headers." 372 # define for if (0) {} else for 375 # pragma warning(disable:4068) 378 # pragma warning(disable:4786) 392 #if 0 // denis 2005/12/09: disable this which conflicts with STL and libsigc++ 398 #endif // __zconfigl__