diff options
author | Werner Koch <wk@gnupg.org> | 1999-06-29 21:50:54 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 1999-06-29 21:50:54 +0200 |
commit | 75ed03c960bf6613d13435499cba0bddc79dc3fd (patch) | |
tree | b2f1fcd92a2dca9c77ae16f98395c04fa9476eb2 /include | |
parent | See ChangeLog: Sat Jun 26 13:54:43 CEST 1999 Werner Koch (diff) | |
download | gnupg2-75ed03c960bf6613d13435499cba0bddc79dc3fd.tar.xz gnupg2-75ed03c960bf6613d13435499cba0bddc79dc3fd.zip |
See ChangeLog: Tue Jun 29 21:44:25 CEST 1999 Werner Koch
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 5 | ||||
-rw-r--r-- | include/util.h | 6 |
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 <wk@isil.d.shuttle.de> + + + * util.h (stricmp): Use strcasecmp as replacement. + Sat Jun 26 12:15:59 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> 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 */ |