sdhlibrary_settings.h
Go to the documentation of this file.
00001 //======================================================================
00031 //======================================================================
00032 
00033 #ifndef SDHLIBRARY_SETTINGS_h_
00034 #define SDHLIBRARY_SETTINGS_h_
00035 
00036 //----------------------------------------------------------------------
00037 // System Includes - include with <>
00038 //----------------------------------------------------------------------
00039 
00040 
00041 //----------------------------------------------------------------------
00042 // Project Includes - include with ""
00043 //----------------------------------------------------------------------
00044 
00045 
00046 //----------------------------------------------------------------------
00047 // Defines, enums, unions, structs
00048 //----------------------------------------------------------------------
00049 
00058 
00059 #define  SDH_USE_NAMESPACE  1
00060 
00062 #define  SDH_USE_BINARY_COMMUNICATION 1
00063 
00065 //-----------------------------------------------------------------
00066 
00067 
00078 #if SDH_USE_NAMESPACE
00079 # define NAMESPACE_SDH_START namespace SDH {
00080 # define NAMESPACE_SDH_END   }
00081 # define USING_NAMESPACE_SDH using namespace SDH;
00082 # define NS_SDH              SDH::
00083 #else
00084 # define NAMESPACE_SDH_START
00085 # define NAMESPACE_SDH_END
00086 # define USING_NAMESPACE_SDH
00087 # define NS_SDH
00088 #endif
00089 
00090 
00091 //---------------------
00092 #if defined( OSNAME_CYGWIN ) || defined( OSNAME_LINUX )
00093 //#warning "using settings for Cygwin and Linux"
00094 
00095 // settings when run on Windows/cygwin or Linux:
00096 
00098 # define SDH_USE_VCC 0
00099 
00101 # define SDH__attribute__( ... ) __attribute__(__VA_ARGS__)
00102 
00104 # define SDH_ISNAN( V ) isnan( (V) )
00105 
00106 # define VCC_EXPORT
00107 # define VCC_EXPORT_TEMPLATE
00108 
00109 //---------------------
00110 // WIN32 might be defined by ntcan.h
00111 #elif defined( WIN32 ) && ( ! defined( OSNAME_CYGWIN ) ) && ( ! defined( OSNAME_LINUX ) )
00112 //#warning "using settings for VCC"
00113 
00115 # define SDH_USE_VCC 1
00116 
00118 # define SDH__attribute__( ... )
00119 
00121 # define SDH_ISNAN( V ) _isnan( (V) )
00122 
00123 typedef long          ssize_t;
00124 
00136 //disable warnings on extern before template instantiation
00137 # pragma warning (disable : 4231)
00138 # ifdef SDH_IN_SDHLIBRARY_DLL
00139 #  define VCC_EXPORT           __declspec( dllexport )
00140 #  define VCC_EXPORT_TEMPLATE
00141 # else
00142 #  define VCC_EXPORT           __declspec( dllimport )
00143 #  define VCC_EXPORT_TEMPLATE  extern
00144 # endif
00145 
00146 
00147 //---------------------
00148 #else
00149 # error "Unknown compiler, please adjust settings!"
00150 #endif
00151 
00152 
00154 
00155 //----------------------------------------------------------------------
00156 // Global variables (declarations)
00157 //----------------------------------------------------------------------
00158 
00159 
00160 //----------------------------------------------------------------------
00161 // External functions and classes (declarations)
00162 //----------------------------------------------------------------------
00163 
00164 
00165 //----------------------------------------------------------------------
00166 // Function prototypes (function declarations)
00167 //----------------------------------------------------------------------
00168 
00169 
00170 //----------------------------------------------------------------------
00171 // Class declarations
00172 //----------------------------------------------------------------------
00173 
00174 
00175 #endif
00176 
00177 
00178 //======================================================================
00179 /*
00180   Here are some settings for the emacs/xemacs editor (and can be safely ignored):
00181   (e.g. to explicitely set C++ mode for *.h header files)
00182 
00183   Local Variables:
00184   mode:C++
00185   mode:ELSE
00186   End:
00187 */
00188 //======================================================================


schunk_sdh
Author(s): Florian Weisshardt
autogenerated on Mon Oct 6 2014 07:29:15