Commit f45ac4ae authored by Alan Coopersmith's avatar Alan Coopersmith Committed by Ulrich Sibiller

unifdef -UISC

parent 35dc4784
...@@ -59,23 +59,11 @@ typedef unsigned long wchar_t; ...@@ -59,23 +59,11 @@ typedef unsigned long wchar_t;
#endif #endif
#endif #endif
#if defined(ISC) && defined(USE_XMBTOWC)
#define wctomb(a,b) _Xwctomb(a,b)
#define mblen(a,b) _Xmblen(a,b)
#ifndef USE_XWCHAR_STRING
#define mbtowc(a,b,c) _Xmbtowc(a,b,c)
#endif
#endif
extern int extern int
_Xmblen( _Xmblen(
#ifdef ISC
char const *str,
size_t len
#else
char *str, char *str,
int len int len
#endif
); );
/* API mentioning "UTF8" or "utf8" is an XFree86 extension, introduced in /* API mentioning "UTF8" or "utf8" is an XFree86 extension, introduced in
...@@ -4021,13 +4009,8 @@ extern void XSetAuthorization( ...@@ -4021,13 +4009,8 @@ extern void XSetAuthorization(
extern int _Xmbtowc( extern int _Xmbtowc(
wchar_t * /* wstr */, wchar_t * /* wstr */,
#ifdef ISC
char const * /* str */,
size_t /* len */
#else
char * /* str */, char * /* str */,
int /* len */ int /* len */
#endif
); );
extern int _Xwctomb( extern int _Xwctomb(
......
...@@ -199,13 +199,8 @@ _Xlcwcstombs( ...@@ -199,13 +199,8 @@ _Xlcwcstombs(
int int
_Xmbtowc( _Xmbtowc(
wchar_t *wstr, wchar_t *wstr,
#ifdef ISC
char const *str,
size_t len
#else
char *str, char *str,
int len int len
#endif
) )
{ {
return _Xlcmbtowc((XLCd) NULL, wstr, str, len); return _Xlcmbtowc((XLCd) NULL, wstr, str, len);
...@@ -213,13 +208,8 @@ _Xmbtowc( ...@@ -213,13 +208,8 @@ _Xmbtowc(
int int
_Xmblen( _Xmblen(
#ifdef ISC
char const *str,
size_t len
#else
char *str, char *str,
int len int len
#endif
) )
{ {
return _Xmbtowc((wchar_t *) NULL, str, len); return _Xmbtowc((wchar_t *) NULL, str, len);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment