1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-01-31 09:57:14 +01:00

Fix maxminddb redefinition of strcasecmp.

This commit is contained in:
Sandu Liviu Catalin 2020-04-30 21:37:44 +03:00
parent 69e8a9377c
commit 88ef01e5e8

View File

@ -269,8 +269,9 @@ inline double ulonglong2double(ulonglong value)
#define statistic_add(V,C,L) (V)+=(C)
#endif
#define statistic_increment(V,L) thread_safe_increment((V),(L))
#define strcasecmp(A,B) _stricmp((A),(B))
#ifndef strcasecmp
#define strcasecmp(A,B) _stricmp((A),(B))
#endif
#define close(A) _close((A))
#define fdopen(A,B) _fdopen((A),(B))
#define sopen(A,B,C,D) _sopen((A),(B),(C),(D))