sdhlibrary_settings.h
Go to the documentation of this file.
1 //======================================================================
31 //======================================================================
32 
33 #ifndef SDHLIBRARY_SETTINGS_h_
34 #define SDHLIBRARY_SETTINGS_h_
35 
36 //----------------------------------------------------------------------
37 // System Includes - include with <>
38 //----------------------------------------------------------------------
39 
40 
41 //----------------------------------------------------------------------
42 // Project Includes - include with ""
43 //----------------------------------------------------------------------
44 
45 
46 //----------------------------------------------------------------------
47 // Defines, enums, unions, structs
48 //----------------------------------------------------------------------
49 
58 #define SDH_USE_NAMESPACE 1
60 
62 #define SDH_USE_BINARY_COMMUNICATION 1
63 
65 //-----------------------------------------------------------------
66 
67 
78 #if SDH_USE_NAMESPACE
79 # define NAMESPACE_SDH_START namespace SDH {
80 # define NAMESPACE_SDH_END }
81 # define USING_NAMESPACE_SDH using namespace SDH;
82 # define NS_SDH SDH::
83 #else
84 # define NAMESPACE_SDH_START
85 # define NAMESPACE_SDH_END
86 # define USING_NAMESPACE_SDH
87 # define NS_SDH
88 #endif
89 
90 
91 //---------------------
92 #if defined( OSNAME_CYGWIN ) || defined( OSNAME_LINUX )
93 //#warning "using settings for Cygwin and Linux"
94 
95 // settings when run on Windows/cygwin or Linux:
96 
98 # define SDH_USE_VCC 0
99 
101 # define SDH__attribute__( ... ) __attribute__(__VA_ARGS__)
102 
104 # define SDH_ISNAN( V ) isnan( (V) )
105 
106 # define VCC_EXPORT
107 # define VCC_EXPORT_TEMPLATE
108 
109 //---------------------
110 // WIN32 might be defined by ntcan.h
111 #elif defined( WIN32 ) && ( ! defined( OSNAME_CYGWIN ) ) && ( ! defined( OSNAME_LINUX ) )
112 //#warning "using settings for VCC"
113 
115 # define SDH_USE_VCC 1
116 
118 # define SDH__attribute__( ... )
119 
121 # define SDH_ISNAN( V ) _isnan( (V) )
122 
123 typedef long ssize_t;
124 
136 //disable warnings on extern before template instantiation
137 # pragma warning (disable : 4231)
138 # ifdef SDH_IN_SDHLIBRARY_DLL
139 # define VCC_EXPORT __declspec( dllexport )
140 # define VCC_EXPORT_TEMPLATE
141 # else
142 # define VCC_EXPORT __declspec( dllimport )
143 # define VCC_EXPORT_TEMPLATE extern
144 # endif
145 
146 
147 //---------------------
148 #else
149 # error "Unknown compiler, please adjust settings!"
150 #endif
151 
152 
154 
155 //----------------------------------------------------------------------
156 // Global variables (declarations)
157 //----------------------------------------------------------------------
158 
159 
160 //----------------------------------------------------------------------
161 // External functions and classes (declarations)
162 //----------------------------------------------------------------------
163 
164 
165 //----------------------------------------------------------------------
166 // Function prototypes (function declarations)
167 //----------------------------------------------------------------------
168 
169 
170 //----------------------------------------------------------------------
171 // Class declarations
172 //----------------------------------------------------------------------
173 
174 
175 #endif
176 
177 
178 //======================================================================
179 /*
180  Here are some settings for the emacs/xemacs editor (and can be safely ignored):
181  (e.g. to explicitely set C++ mode for *.h header files)
182 
183  Local Variables:
184  mode:C++
185  mode:ELSE
186  End:
187 */
188 //======================================================================


sdhlibrary_cpp
Author(s): Dirk Osswald
autogenerated on Sun Aug 18 2019 03:42:20