Mercurial > hg > xemacs-beta
comparison src/text.h @ 912:e10cdc51a200
[xemacs-hg @ 2002-07-09 11:58:12 by michaels]
2002-07-08 Mike Sperber <mike@xemacs.org>
* text.h: Only include wchar.h if we have it; define wcslen
prototype if we don't.
* config.h.in: Add stub for HAVE_WCHAR_H.
* sysdep.c (wcslen): Added definition for systems which don't have
it.
author | michaels |
---|---|
date | Tue, 09 Jul 2002 11:58:12 +0000 |
parents | 804517e16990 |
children | e22b0213b713 |
comparison
equal
deleted
inserted
replaced
911:428608d46017 | 912:e10cdc51a200 |
---|---|
31 */ | 31 */ |
32 | 32 |
33 #ifndef INCLUDED_text_h_ | 33 #ifndef INCLUDED_text_h_ |
34 #define INCLUDED_text_h_ | 34 #define INCLUDED_text_h_ |
35 | 35 |
36 #ifdef HAVE_WCHAR_H | |
36 #include <wchar.h> | 37 #include <wchar.h> |
38 #else | |
39 size_t wcslen(const wchar_t *); | |
40 #endif | |
37 | 41 |
38 /* ---------------------------------------------------------------------- */ | 42 /* ---------------------------------------------------------------------- */ |
39 /* Super-basic character properties */ | 43 /* Super-basic character properties */ |
40 /* ---------------------------------------------------------------------- */ | 44 /* ---------------------------------------------------------------------- */ |
41 | 45 |