X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FWinDefs.h;h=2609273cd873fa9486ba1e99b52393e0bdf271f4;hb=c37122c24359588ba80e02599ac98eddc44b6a34;hp=31dd352d12598aa1fc7239c0668fb692001ec6bb;hpb=454beca4a2d0a4225e492955cef849ce1a85b0fd;p=lugaru.git diff --git a/Source/WinDefs.h b/Source/WinDefs.h index 31dd352..2609273 100644 --- a/Source/WinDefs.h +++ b/Source/WinDefs.h @@ -99,6 +99,7 @@ char* ConvertFileName( const char* orgfilename, const char* junk); #define fopen(a, b) fopen(ConvertFileName(a), b); +#ifndef __MINGW32__ inline float abs(float f) { if (f < 0) @@ -112,6 +113,7 @@ inline double abs(double f) return -f; return f; } +#endif // __MINGW32__ #endif