rcolyer.net
RC Lib  Version 202403231100
RCconfig.h
Go to the documentation of this file.
1 /////////////////////////////////////////////////////////////////////
2 //
3 // RC Library, (c) 2011-2016, Ryan A. Colyer
4 // Distributed under the Boost Software License, v1.0. (LICENSE.txt)
5 //
6 /// \file RCconfig.h
7 /// The version information and configuration settings for RC Lib.
8 /////////////////////////////////////////////////////////////////////
9 
10 #ifdef RC_VERSION
11 #if RC_VERSION != 202403231100ul
12 #error "Included two different RC library versions"
13 #endif
14 #endif
15 /// \def RC_VERSION
16 /// The date-time stamped version number for this release.
17 #define RC_VERSION 202403231100ul
18 
19 #ifndef RC_CONFIG_H
20 /// @cond UNDOC
21 #define RC_CONFIG_H
22 /// @endcond
23 
24 #ifndef WIN32
25 #if defined(_WIN32) || defined(__WIN32__)
26 #define WIN32
27 #endif
28 #endif
29 
30 #ifndef MACOS
31 #if defined(__APPLE__) && defined(__MACH__)
32 #define MACOS
33 #endif
34 #endif
35 
36 #ifndef unix
37 #if defined(__unix__) || defined(__unix) || defined(linux) || defined(MACOS)
38 #define unix
39 #endif
40 #endif
41 
42 /// \def CPP11
43 /// Defined if C++11 features are available.
44 #if __cplusplus >= 201103L
45 #define CPP11
46 #endif
47 
48 /// \def CPP14
49 /// Defined if C++14 features are available.
50 #if __cplusplus >= 201402L
51 #define CPP14
52 #endif
53 
54 /// \def RC_HAVE_QT
55 /// Define this if Qt is available in this compile. (Default off)
56 /// \def RC_HAVE_BOOST
57 /// Define this if Boost is available. (Default off)
58 /// \def RC_NO_STACKTRACE
59 /// Define this to disable stacktracing. (Default off) Note that for
60 /// linux g++ stacktraces, one should use the compiler option -rdynamic.
61 // option.
62 #ifdef DOXYGEN_ONLY
63 #define RC_HAVE_QT
64 #define RC_HAVE_BOOST
65 #define RC_NO_STACKTRACE
66 #endif
67 
68 //////////////////
69 // Begin Options
70 //////////////////
71 
72 //#define RC_HAVE_QT
73 //#define RC_HAVE_BOOST
74 //#define RC_NO_STACKTRACE
75 
76 #ifdef unix
77 /// \def RC_HAVE_URAND
78 /// If defined, a /dev/urandom file is available on the platform.
79 #define RC_HAVE_URAND
80 /// \def RC_DEV_URANDOM
81 /// Set to the full pathname of the /dev/urandom file to use.
82 #define RC_DEV_URANDOM "/dev/urandom"
83 #endif
84 
85 //////////////////
86 // End Options
87 //////////////////
88 
89 
90 #ifndef RC_DEBOUT_STREAM
91 /// \def RC_DEBOUT_STREAM
92 /// The output stream to which RC_DEBOUT debugging messages should be sent.
93 #define RC_DEBOUT_STREAM std::cerr
94 #endif
95 
96 #endif // RC_CONFIG_H
97 
email address
— (c) 2015