diff options
author | Rafał Mużyło <galtgendo@o2.pl> | 2011-08-03 16:42:45 +0200 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2011-08-03 17:15:28 -0400 |
commit | d651581036e9ee0048c6c25b37fb0f7b9e87789b (patch) | |
tree | 0166f2844325c23edf483ca9e81e3a3cc5a25fd3 /src/XawI18n.h | |
parent | 4fac21fc5d3a4792f9c4b27abd9cbd07ec264909 (diff) |
fix iswspace detection
Signed-off-by: Rafał Mużyło <galtgendo@o2.pl>
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/XawI18n.h')
-rw-r--r-- | src/XawI18n.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/XawI18n.h b/src/XawI18n.h index 4c22717..388fa42 100644 --- a/src/XawI18n.h +++ b/src/XawI18n.h @@ -29,11 +29,11 @@ in this Software without prior written authorization from the X Consortium. #include <wctype.h> #ifdef HAVE_WIDEC_H #include <widec.h> -#endif #define wcslen(c) wslen(c) #define wcscpy(d,s) wscpy(d,s) #define wcsncpy(d,s,l) wsncpy(d,s,l) #endif +#endif #ifdef HAVE_WCHAR_H #include <wchar.h> @@ -70,7 +70,7 @@ extern wchar_t _Xaw_atowc ( #endif ); -#ifndef HAVE_ISW_FUNCS +#ifndef HAVE_ISWSPACE #include <ctype.h> #ifndef iswspace #define iswspace(c) (isascii(c) && isspace(toascii(c))) |