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:
+1
-8
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user