aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog5
-rw-r--r--include/util.h6
2 files changed, 8 insertions, 3 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 5f4cb82b0..a1f94e32a 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,8 @@
+Tue Jun 29 21:44:25 CEST 1999 Werner Koch <[email protected]>
+
+
+ * util.h (stricmp): Use strcasecmp as replacement.
+
Sat Jun 26 12:15:59 CEST 1999 Werner Koch <[email protected]>
diff --git a/include/util.h b/include/util.h
index 9a4f1ffb5..d266af412 100644
--- a/include/util.h
+++ b/include/util.h
@@ -175,8 +175,6 @@ char *native_to_utf8( const char *string );
char *utf8_to_native( const char *string );
int check_utf8_string( const char *string );
-#define stricmp(a,b) strcasecmp((a),(b))
-
#ifndef HAVE_MEMICMP
int memicmp( const char *a, const char *b, size_t n );
#endif
@@ -192,7 +190,9 @@ char *strlwr(char *a);
#ifndef HAVE_MEMMOVE
#define memmove(d, s, n) bcopy((s), (d), (n))
#endif
-
+#ifndef HAVE_STRICMP
+ #define stricmp(a,b) strcasecmp( (a), (b) )
+#endif
/**** other missing stuff ****/
#ifndef HAVE_ATEXIT /* For SunOS */