CrystalSpace

Public API Reference

Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

csconfig.h

00001 /*
00002   This header is used by CS_COMPILER_MSVC and CS_COMPILER_BCC for
00003   CS_PLATFORM_WIN32 builds.  It is not used for CS_COMPILER_GCC builds under
00004   normal circumstances since GCC builds are performed in concert with
00005   invocation of the CS configure script which generates a suitable csconfig.h
00006   file.
00007 */
00008 #ifndef __CS_WIN32_CSCONFIG_H__
00009 #define __CS_WIN32_CSCONFIG_H__
00010 
00011 #define CS_PACKAGE_NAME "crystalspace"
00012 
00013 #define CS_PLATFORM_WIN32
00014 #if !defined(CS_PLATFORM_NAME)
00015 #  define CS_PLATFORM_NAME "Win32"
00016 #endif
00017 
00018 #define CS_PROCESSOR_X86
00019 #if !defined(CS_PROCESSOR_NAME)
00020 #  define CS_PROCESSOR_NAME "X86"
00021 #endif
00022 
00023 #if defined(__BORLANDC__)
00024 #  define CS_COMPILER_BCC
00025 #  if !defined(CS_COMPILER_NAME)
00026 #    define CS_COMPILER_NAME "Borland"
00027 #  endif
00028 #  define CS_USE_CUSTOM_ISDIR
00029 #elif defined(__MINGW32__) || defined(__CYGWIN32__)
00030 #  define CS_COMPILER_GCC
00031 #  if !defined(CS_COMPILER_NAME)
00032 #    define CS_COMPILER_NAME "GCC"
00033 #  endif
00034 #else
00035 #  define CS_COMPILER_MSVC
00036 #  if !defined(CS_COMPILER_NAME)
00037 #    define CS_COMPILER_NAME "VisualC"
00038 #  endif
00039 #endif
00040 
00041 #if !defined (CS_COMPILER_GCC)
00042 #  define CS_USE_MMX
00043 #endif
00044 
00045 #define CS_HAS_WCHAR_H
00046 #define CS_WCHAR_T_SIZE 2
00047 
00048 #define CS_USE_FAKE_SOCKLEN_TYPE
00049 
00050 #define CS_EMBED_PLUGIN_META
00051 
00052 //#define CS_BUILD_SHARED_LIBS
00053 
00054 #ifdef _WIN64
00055   #define CS_PROCESSOR_SIZE     64
00056 #else
00057   #define CS_PROCESSOR_SIZE     32
00058 #endif
00059 
00060 //#define CS_REF_TRACKER
00061 //#define CS_MEMORY_TRACKER
00062 
00063 #if defined(CS_COMPILER_MSVC) && (_MSC_VER >= 1400)
00064   #define _CRT_SECURE_NO_DEPRECATE
00065         /* In VC8, a lot of CRT methods were marked "deprecated" b/c they're 
00066            deemed "insecure". Silence those warnings. 
00067            NB: This is here b/c it needs to be set before any standard headers
00068            are included. */
00069 #endif
00070 
00071 #endif // __CS_WIN32_CSCONFIG_H__

Generated for Crystal Space by doxygen 1.3.9.1