diff options
| author | Christos Zoulas <christos@zoulas.com> | 2004-04-07 14:23:55 +0000 |
|---|---|---|
| committer | Christos Zoulas <christos@zoulas.com> | 2004-04-07 14:23:55 +0000 |
| commit | 0900a464c49454126b21bd8b847a33f619d99362 (patch) | |
| tree | 6ebe52b7ed0d3e4cfb5139f0a4588a2af61138e3 | |
| parent | 461f7b4fca394a9723ede150f4b9bf761b853412 (diff) | |
| download | file-git-0900a464c49454126b21bd8b847a33f619d99362.tar.gz | |
Add more conditional defines
| -rw-r--r-- | src/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -77,7 +77,7 @@ #include "patchlevel.h" #ifndef lint -FILE_RCSID("@(#)$Id: file.c,v 1.92 2004/03/22 21:34:39 christos Exp $") +FILE_RCSID("@(#)$Id: file.c,v 1.93 2004/04/07 14:23:55 christos Exp $") #endif /* lint */ @@ -453,7 +453,7 @@ byteconv2(int from, int same, int big_endian) size_t file_mbswidth(const char *s) { -#ifdef HAVE_WCHAR_H +#if defined(HAVE_WCHAR_H) && defined(HAVE_MBRTOWC) && defined(HAVE_WCWIDTH) size_t bytesconsumed, old_n, n, width = 0; mbstate_t state; wchar_t nextchar; |
