These defines are gathered by the build system, and may or may not be defined. To use them one would have to test for their definitions with the #ifdef pre-processor command.
SPCT_MSVC | Defined if the compiler is some version Microsoft Visual C. |
SPCT_MINGW32 | Defined if the compiler is a MinGW compiler in Windows. |
SPCT_BCC32 | Defined if the compiler is some version of a Borland compiler. |
SPCT_GCC | Defined if the compiler is GNU compiler collection. |
SPCT_WIN32 | Defined if the platform is Windows (including 64-bit). |
SPCT_UNIX | Defined if the platform is UNIX or UNIX like (i.e. Apple and Cygwin). |
SPCT_MACOSX | Defined if the platform is Apple Mac OSX. |
SPCT_HAVE_SYS_TYPES_H | Defined if the sys/types.h header is available. |
SPCT_HAVE_LIMITS_H | Defined if the limits.h header is available. |
SPCT_HAVE_SYS_STAT_H | Defined if the sys/stat.h header is available. |
SPCT_HAVE_UNISTD_H | Defined if the unistd.h header is available. |
SPCT_HAVE_FCNTL_H | Defined if the fcntl.h header is available. |
SPCT_HAVE_SYS_MMAN_H | Defined if the sys/mman.h header is available. |
SPCT_LITTLE_ENDIAN | Defined if the machine is little endian type. |
SPCT_BIG_ENDIAN | Defined if the machine is big endian type. |
SPCT_USE_THREADS | Defined if the CMake build option WANT_THREADS is on. |
SPCT_ERROR_ABORT_FATAL | Defined if the CMake build option ERROR_ABORT_FATAL is on. |
SPCT_ERROR_HANDLING | Defined if the CMake build option ERROR_HANDLING is on. |
SPCT_DO_SAFE_CAST | Defined if the CMake build option SAFE_CAST is on. |
SPCT_DEBUGMODE | Defined if the CMake build option CMAKE_BUILD_TYPE is Debug. |
Defined if the compiler is some version Microsoft Visual C.
Defined if the compiler is a MinGW compiler in Windows.
Defined if the compiler is some version of a Borland compiler.
Defined if the compiler is GNU compiler collection.
Defined if the platform is Windows (including 64-bit).
Defined if the platform is UNIX or UNIX like (i.e. Apple and Cygwin).
Defined if the platform is Apple Mac OSX.
Defined if the sys/types.h header is available.
Defined if the limits.h header is available.
Defined if the sys/stat.h header is available.
Defined if the unistd.h header is available.
Defined if the fcntl.h header is available.
Defined if the sys/mman.h header is available.
Defined if the machine is little endian type.
Defined if the machine is big endian type.
Defined if the CMake build option WANT_THREADS is on.
Defined if the CMake build option ERROR_ABORT_FATAL is on.
Defined if the CMake build option ERROR_HANDLING is on.
Defined if the CMake build option CMAKE_BUILD_TYPE is Debug. Influences the logging behaviour of speect_init().
See also