Skip to content
Snippets Groups Projects
Commit 21b6c55d authored by rswindell's avatar rswindell
Browse files

Avoid redefinition of stricmp in Unix builds (with uifc.h).

parent 3154fe0f
Branches
Tags
No related merge requests found
...@@ -71,9 +71,11 @@ ...@@ -71,9 +71,11 @@
#define SH_DENYNO 2 // no locks #define SH_DENYNO 2 // no locks
#define SH_DENYRW F_WRLCK // exclusive lock #define SH_DENYRW F_WRLCK // exclusive lock
#define SH_DENYWR F_RDLCK // shareable lock #define SH_DENYWR F_RDLCK // shareable lock
#define stricmp(x,y) strcasecmp(x,y) #if !defined(stricmp)
#define strnicmp(x,y,z) strncasecmp(x,y,z) #define stricmp(x,y) strcasecmp(x,y)
#define strnicmp(x,y,z) strncasecmp(x,y,z)
#endif
#define chsize(fd,size) ftruncate(fd,size) #define chsize(fd,size) ftruncate(fd,size)
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment