1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-09 07:03:13 +02:00

Get rid of stricmp/strnicmp (use strcasecmp/strncasecmp)

This commit is contained in:
Bram Matthys
2019-09-09 16:13:32 +02:00
parent 9636f83a2b
commit 7d4b7c2fed
26 changed files with 76 additions and 83 deletions
+1 -8
View File
@@ -285,16 +285,9 @@
#define LOGFILE LPATH
#else
#define Debug(x) ;
#if VMS
#define LOGFILE "NLA0:"
#else
#define LOGFILE "/dev/null"
#endif
#define LOGFILE "/dev/null"
#endif
// FIXME: get rid of this
# define stricmp strcasecmp
# define strnicmp strncasecmp
#if defined(DEFAULT_RECVQ)
# if (DEFAULT_RECVQ < 512)
error DEFAULT_RECVQ needs redefining.
+2 -2
View File
@@ -42,8 +42,8 @@
#define LIST_SHOW_MODES
#ifndef mode_t
#define GOT_STRCASECMP
#define strcasecmp _stricmp
#define strncasecmp _strnicmp
#define strcasecmp _strcasecmp
#define strncasecmp _strncasecmp
#define HAVE_EXPLICIT_BZERO
#define explicit_bzero(a,b) SecureZeroMemory(a,b)
#define HAVE_INET_PTON