mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-21 07:31:26 +02:00
Visual Studio and MinGW comapatbility
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user