Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef STD_H
00024 #define STD_H
00025
00026 #if defined WIN32
00027 # if defined STD_EXPORTS || defined std_EXPORTS
00028 # define STD_EXPORT __declspec( dllexport )
00029 # else
00030 # define STD_EXPORT __declspec( dllimport )
00031 # endif
00032 #else
00033 # define STD_EXPORT
00034 #endif
00035
00036 #if defined SOLARIS
00037 #define bool int
00038 #define false 0
00039 #define true 1
00040 #endif
00041
00042 #if defined WIN32
00043 #pragma warning ( disable: 4251 )
00044 #endif
00045
00046 #if defined ( _DEBUG ) || defined ( DEBUG )
00047 #include <assert.h>
00048 #define STD_VERIFY(x) (assert(x))
00049 #define STD_ASSERT(x) (assert(x))
00050 #else
00051 #define STD_VERIFY(x) (x)
00052 #define STD_ASSERT(x)
00053 #endif
00054
00055
00056 #endif