define forceinline to be nothing if it is a unix and not using gcc

This commit is contained in:
qeed 2009-10-12 19:28:07 +00:00
parent d3ef9e7f81
commit 643f8f7cff
1 changed files with 8 additions and 3 deletions

View File

@ -48,9 +48,14 @@ extern "C"
#endif
#ifdef __unix__
#define stricmp strcasecmp
#define strnicmp strncasecmp
#define __forceinline __attribute__ ((always_inline))
#define stricmp strcasecmp
#define strnicmp strncasecmp
#ifdef __GNUC__
#define __forceinline __attribute__ ((always_inline))
#else
#define __forceinline
#endif
#endif
#ifdef WIN32