00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef _hyp_ker_def_h
00028 #define _hyp_ker_def_h
00029
00030
00036 #ifdef WIN32
00037
00041 #define hyp_WIN32
00042
00043 #ifdef _DEBUG
00044 #define hyp_DEBUG
00045 #else
00046
00050 #define hyp_RELEASE
00051 #endif
00052 #else
00053 #error Only Win32 Plateform is supported. Portage on Linux should be easy ;-)
00054 #endif
00055
00056
00062 #ifdef _MSC_VER
00063
00066 #define hyp_VC _MSC_VER
00067 #else
00068 #error Only Visual C++ 6.0 is available.
00069 #endif
00070
00071
00080 #ifdef hyp_NO_CALL_CONV
00081 #define hyp_CALL_CONV
00082 #pragma message( "hyp_NO_CALL_CONV activated" )
00083 #else
00084 #define hyp_CALL_CONV __stdcall
00085 #endif
00086
00087
00093
00094 #define hyp_NAMESPACE_BEGIN( n ) \
00095 namespace n {
00096
00097 #define hyp_NAMESPACE_END( n ) \
00098 }
00099
00101 #define hyp_NAMESPACE_BEGIN_HYP \
00102 hyp_NAMESPACE_BEGIN(hyp)
00103
00104 #define hyp_NAMESPACE_END_HYP \
00105 hyp_NAMESPACE_END(hyp)
00106
00107
00108
00114 #ifdef hyp_WIN32
00115
00116 #define hyp_EXPORT_DLL __declspec( dllexport )
00117
00118 #define hyp_IMPORT_DLL __declspec( dllimport )
00119 #endif
00120
00121
00122
00123
00124
00125
00126 #include<vector>
00127 #include<list>
00128 #include<iomanip>
00129 #include<string>
00130 #include<sstream>
00131 #include<fstream>
00132 #include<map>
00133 #include<cassert>
00134 #include<set>
00135 #include<memory>
00136
00137
00138 #ifdef hyp_USE_VALARRAY
00139 #include<valarray>
00140 #endif
00141
00142
00143 #ifndef hyp_NO_INCLUDE_SYS_HEADER
00144
00145
00146
00147
00148 #ifdef hyp_WIN32
00149 #define WIN32_LEAN_AND_MEAN // exclude rarely-used stuff from Windows headers
00150 #include<windows.h>
00151 #include<winnt.h>
00152 #include<windef.h>
00153 #include<winbase.h>
00154 #endif
00155
00156 #endif
00157
00158
00159 #endif