9 #define inline __inline
10 #define __inline__ __inline
11 #define __attribute__(x)
12 #define va_copy(dst, src) ((dst) = (src))
14 static __inline int strcasecmp (const char *s1, const char *s2)
16 int size1 = strlen(s1);
17 int sisz2 = strlen(s2);
18 return _strnicmp(s1, s2, sisz2 > size1 ? sisz2 : size1);
24 #include "compat/mingw.h"
27 #define _stat64(x,y) mingw_lstat(x,y)
30 Even though _stati64 is normally just defined at _stat64
31 on Windows, we specify it here as a proper struct to avoid
32 compiler warnings about macro redefinition due to magic in
33 mingw.h. Struct taken from ReactOS (GNU GPL license).
38 unsigned short st_mode;