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

xmog-config-windows-msvc.h

00001 /*
00002  * Copyright 1999-2006 by Codemesh, Inc.  ALL RIGHTS RESERVED.
00003  */
00004 
00005 
00006 // default value for wchar_t legality
00007 #ifndef XMOG_SUPPORTS_WCHAR_T
00008 #   define XMOG_SUPPORTS_WCHAR_T            1
00009 #   if (_MSC_VER>=1300)
00010 #       define XMOG_WCHAR                   __wchar_t
00011 #   else
00012 #       define XMOG_WCHAR                   wchar_t
00013 #   endif
00014 #endif
00015 
00016 
00017 // default value for whether an 'unsigned short*' overload for 'wchar_t' needs to be declared
00018 #ifndef XMOG_REQUIRES_UNSIGNED_SHORT_OVERLOAD
00019 #   if (XMOG_BUILD_XMOG!=1) && (_MSC_VER>=1300) && !defined(_NATIVE_WCHAR_T_DEFINED) 
00020 #       define XMOG_REQUIRES_UNSIGNED_SHORT_OVERLOAD        1
00021 #   else
00022 #       define XMOG_REQUIRES_UNSIGNED_SHORT_OVERLOAD        0
00023 #   endif
00024 #endif
00025 
00026 
00027 #define XMOG_INLINE __inline
00028 #define XMOG_MUTABLE    mutable
00029 #define XMOG_EXPLICIT   explicit
00030 
00031 
00032 // default the flag that governs whether the two argument 'delete' operator is declared
00033 #ifndef XMOG_SUPPORTS_PLACEMENT_DELETE
00034 #   define XMOG_SUPPORTS_PLACEMENT_DELETE   1
00035 #endif
00036 
00037 // default the flag that governs whether the two argument 'new' operator is declared
00038 #ifndef XMOG_SUPPORTS_PLACEMENT_NEW
00039 #   define  XMOG_SUPPORTS_PLACEMENT_NEW     1
00040 #endif
00041 
00042 // default the flag that governs whether <typeinfo.h> or <typeinfo> should be used
00043 #ifndef XMOG_SUPPORTS_TYPEINFO
00044 #   define XMOG_SUPPORTS_TYPEINFO           0
00045 #endif
00046 
00047 // Compiler sets _CPPRTTI if rtti is enabled.
00048 #if !defined (_CPPRTTI)
00049 #   error You need to enable Runtime Type Information (RTTI)
00050 #endif /* _CPPRTTI */
00051 
00052 
00053 #pragma warning( disable : 4250 )
00054 #pragma warning( disable : 4251 )
00055 #pragma warning( disable : 4355 )
00056 #pragma warning( disable : 4786 )
00057 
00058 
00059 #ifndef XMOG_SUPPORTS_USING
00060 #   define XMOG_SUPPORTS_USING          1
00061 #endif
00062 
00063 // we build the .NET support only into the MSVC runtime because
00064 // we don't need to support any other compilers there (it's not
00065 // publicly used)
00066 #ifndef XMOG_SUPPORTS_DOTNET
00067 #   define XMOG_SUPPORTS_DOTNET         1
00068 #endif
00069 
00070 #ifndef XMOG_DOTNET_EXPORT
00071 #   define XMOG_DOTNET_EXPORT           __declspec(dllexport)
00072 #endif
00073 
00074 #ifndef XMOG_DOTNET_CALL
00075 #   define XMOG_DOTNET_CALL             __stdcall
00076 #endif

Generated on Wed May 31 14:01:19 2006 for Shared Codemesh Runtime Library API Reference by  doxygen 1.4.1