From 2ca6e56da72d800aa202e915d345ac45d81c94af Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Thu, 12 Jan 2006 19:17:19 +0000 Subject: [PATCH] str[n]icmp macros don't need argument list - this makes references to the functions as pointers possible (e.g. in replace_str_vars). --- src/xpdev/genwrap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xpdev/genwrap.h b/src/xpdev/genwrap.h index 028903ba52..4949d8680d 100644 --- a/src/xpdev/genwrap.h +++ b/src/xpdev/genwrap.h @@ -178,8 +178,8 @@ extern "C" { DLLEXPORT char* DLLCALL strlwr(char* str); DLLEXPORT char* DLLCALL strrev(char* str); #if !defined(stricmp) - #define stricmp(x,y) strcasecmp(x,y) - #define strnicmp(x,y,z) strncasecmp(x,y,z) + #define stricmp strcasecmp + #define strnicmp strncasecmp #endif #endif -- GitLab