diff --git a/src/sbbs3/smbwrap.h b/src/sbbs3/smbwrap.h index 9fe74b0e449353d8bc42acc68a20c4f45f548960..804cb8901904f89b828a8015e542d43112a3c784 100644 --- a/src/sbbs3/smbwrap.h +++ b/src/sbbs3/smbwrap.h @@ -71,9 +71,11 @@ #define SH_DENYNO 2 // no locks #define SH_DENYRW F_WRLCK // exclusive lock #define SH_DENYWR F_RDLCK // shareable lock - - #define stricmp(x,y) strcasecmp(x,y) - #define strnicmp(x,y,z) strncasecmp(x,y,z) + + #if !defined(stricmp) + #define stricmp(x,y) strcasecmp(x,y) + #define strnicmp(x,y,z) strncasecmp(x,y,z) + #endif #define chsize(fd,size) ftruncate(fd,size) #endif