Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
f45ac4ae
Commit
f45ac4ae
authored
Dec 02, 2013
by
Alan Coopersmith
Committed by
Ulrich Sibiller
Oct 19, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
unifdef -UISC
Signed-off-by:
Alan Coopersmith
<
alan.coopersmith@oracle.com
>
Backported-to-NX-by:
Ulrich Sibiller
<
uli42@gmx.de
>
parent
35dc4784
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
27 deletions
+0
-27
Xlib.h
nx-X11/lib/X11/Xlib.h
+0
-17
lcStd.c
nx-X11/lib/X11/lcStd.c
+0
-10
No files found.
nx-X11/lib/X11/Xlib.h
View file @
f45ac4ae
...
...
@@ -59,23 +59,11 @@ typedef unsigned long wchar_t;
#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
_Xmblen
(
#ifdef ISC
char
const
*
str
,
size_t
len
#else
char
*
str
,
int
len
#endif
);
/* API mentioning "UTF8" or "utf8" is an XFree86 extension, introduced in
...
...
@@ -4021,13 +4009,8 @@ extern void XSetAuthorization(
extern
int
_Xmbtowc
(
wchar_t
*
/* wstr */
,
#ifdef ISC
char
const
*
/* str */
,
size_t
/* len */
#else
char
*
/* str */
,
int
/* len */
#endif
);
extern
int
_Xwctomb
(
...
...
nx-X11/lib/X11/lcStd.c
View file @
f45ac4ae
...
...
@@ -199,13 +199,8 @@ _Xlcwcstombs(
int
_Xmbtowc
(
wchar_t
*
wstr
,
#ifdef ISC
char
const
*
str
,
size_t
len
#else
char
*
str
,
int
len
#endif
)
{
return
_Xlcmbtowc
((
XLCd
)
NULL
,
wstr
,
str
,
len
);
...
...
@@ -213,13 +208,8 @@ _Xmbtowc(
int
_Xmblen
(
#ifdef ISC
char
const
*
str
,
size_t
len
#else
char
*
str
,
int
len
#endif
)
{
return
_Xmbtowc
((
wchar_t
*
)
NULL
,
str
,
len
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment