00001 #ifndef _HLDEFINES_H_
00002 #define _HLDEFINES_H_
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #define HL_EXECUTABLE_HEAP 0
00014
00015 #if defined(_MSC_VER)
00016
00017
00018 #pragma inline_depth(255)
00019 #define INLINE __forceinline
00020 #define inline __forceinline
00021 #define NO_INLINE __declspec(noinline)
00022 #pragma warning(disable: 4530)
00023 #define MALLOC_FUNCTION
00024 #define RESTRICT
00025
00026 #elif defined(__GNUC__)
00027
00028
00029
00030 #define NO_INLINE __attribute__ ((noinline))
00031 #define INLINE inline
00032 #define MALLOC_FUNCTION __attribute__((malloc))
00033 #define RESTRICT __restrict__
00034
00035 #else
00036
00037
00038
00039 #define NO_INLINE
00040 #define INLINE inline
00041 #define MALLOC_FUNCTION
00042 #define RESTRICT
00043
00044 #endif
00045
00046 #endif