00001 #ifndef __ExpStdDefines__
00002 #define __ExpStdDefines__
00003
00024 #include "StdIncludes.h"
00025
00026
00027
00032 #define NULL_POINTER(x) (x) = NULL;
00033
00038 #define FREE_POINTER(x) if(x) { delete (x); } (x) = NULL;
00039
00044 #define FREE_ARRAY_POINTER(x) if(x) { delete [] (x); } (x) = NULL;
00045
00046
00047
00048 #ifdef WIN32
00049 #ifndef STRICT
00050 #define STRICT
00051 #endif
00052 #ifndef WIN32_LEAN_AND_MEAN
00053 #define WIN32_LEAN_AND_MEAN
00054 #endif
00055
00060 #define FORCEINLINE __forceinline
00061
00066 #define ALWAYS_INLINE
00067
00072 typedef unsigned __int64 uint64;
00073
00074 #else
00075
00080 typedef unsigned long long uint64;
00081
00086 #ifndef _cdecl
00087 #define _cdecl
00088 #endif
00089
00094 #ifndef _MAX_PATH
00095 #define _MAX_PATH 260
00096 #endif
00097
00101 #ifndef __USE_BSD
00102 #define __USE_BSD
00103 #endif
00104
00112 #define interface class
00113
00118 #define FORCEINLINE inline
00119
00124 #define ALWAYS_INLINE __attribute__((always_inline))
00125
00129 #define stricmp strcasecmp
00130
00133 #endif
00134
00135 #endif // End of StdDefines.h