Codemesh Runtime v3 C++ API Reference  3.9.205
xmog-config-cygwin-gcc.h
1 //
2 // Copyright (c) 1999-2020 by Codemesh, Inc.. ALL RIGHTS RESERVED.
3 //
4 
5 // included for proxy constant values
6 #include <limits>
7 
8 
9 #define XMOG_CPP_CODE "gcc"
10 
11 
12 // default value for wchar_t legality
13 #ifndef XMOG_SUPPORTS_WCHAR_T
14 # define XMOG_SUPPORTS_WCHAR_T 1
15 # define XMOG_WCHAR wchar_t
16 #endif
17 
18 
19 // default value for whether an 'unsigned short*' overload for 'wchar_t' needs to be declared
20 #ifndef XMOG_REQUIRES_UNSIGNED_SHORT_OVERLOAD
21 # define XMOG_REQUIRES_UNSIGNED_SHORT_OVERLOAD 0
22 #endif
23 
24 
25 #define XMOG_INLINE __inline
26 #define XMOG_MUTABLE mutable
27 #define XMOG_EXPLICIT explicit
28 
29 
30 // default the flag that governs whether <typeinfo> is present
31 #ifndef XMOG_SUPPORTS_TYPEINFO
32 # if (__GNUC__>3) || ((__GNUC__==3) && (__GNUC_MINOR__==4))
33 # define XMOG_SUPPORTS_TYPEINFO 0
34 # else
35 # define XMOG_SUPPORTS_TYPEINFO 1
36 # endif
37 #endif
38 
39 // we build the .NET support only into the MSVC runtime because
40 // we don't need to support any other compilers there (it's not
41 // publicly used)
42 #ifndef XMOG_SUPPORTS_DOTNET
43 # define XMOG_SUPPORTS_DOTNET 0
44 #endif
45 
46 // support for proxy constants
47 #ifndef XMOG_NAN
48 # define XMOG_NAN(x) ::std::numeric_limits< x >::quiet_NaN();
49 #endif
50 
51 #ifndef XMOG_NEG_INF
52 # define XMOG_NEG_INF(x) -::std::numeric_limits< x >::infinity();
53 #endif
54 
55 #ifndef XMOG_POS_INF
56 # define XMOG_POS_INF(x) ::std::numeric_limits< x >::infinity();
57 #endif
58 

Copyright (c) 1999-2020 by Codemesh, Inc., ALL RIGHTS RESERVED.