diff options
author | Daniel Stone <daniel@fooishbar.org> | 2006-03-27 21:11:01 +0000 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2006-03-27 21:11:01 +0000 |
commit | 47dfc83937ed98e964716345cb4c8d817ae13e61 (patch) | |
tree | 445b3102c4fb84002d29dbd1dda1a55eaf5606b0 /src/XKBfileInt.h | |
parent | e61dfbf6c72369f83a833d3a5a04c306a6b289f8 (diff) | |
download | xorg-lib-libxkbfile-47dfc83937ed98e964716345cb4c8d817ae13e61.tar.gz |
Bug #3819: Fix serious botching of _XkbStrCaseCmp commit.XORG-7_0_99_901
Diffstat (limited to 'src/XKBfileInt.h')
-rw-r--r-- | src/XKBfileInt.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/XKBfileInt.h b/src/XKBfileInt.h index a20094e..7eb81a0 100644 --- a/src/XKBfileInt.h +++ b/src/XKBfileInt.h @@ -68,7 +68,13 @@ extern char * _XkbDupString( char * /* old_str */ ); -#define _XkbStrCaseEqual(s1,s2) (strcmp(tolower(s1),tolower(s2))==0) +#define _XkbStrCaseEqual(s1,s2) (_XkbStrCaseCmp(s1,s2)==0) + +#ifdef NEED_STRCASECMP +extern int _XkbStrCaseCmp(char *s1, char *s2); +#else +#define _XkbStrCaseCmp strcasecmp +#endif _XFUNCPROTOEND |