Visual Studio and MinGW comapatbility

This commit is contained in:
Simon
2010-11-06 17:42:22 +00:00
parent c5df30d90b
commit 43cbb294ef
6 changed files with 22 additions and 22 deletions

View File

@@ -21,19 +21,19 @@ __asm__ __volatile ("cpuid":\
static char hex[] = "0123456789ABCDEF";
//Signum function
#ifdef WIN32
#if defined(WIN32) && !defined(__GNUC__)
extern _inline int isign(float i);
#else
extern inline int isign(float i);
#endif
#ifdef WIN32
#if defined(WIN32) && !defined(__GNUC__)
extern _inline unsigned clamp_flt(float f, float min, float max);
#else
extern inline unsigned clamp_flt(float f, float min, float max);
#endif
#ifdef WIN32
#if defined(WIN32) && !defined(__GNUC__)
extern _inline float restrict_flt(float f, float min, float max);
#else
extern inline float restrict_flt(float f, float min, float max);