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
793d587b
Commit
793d587b
authored
Oct 13, 2016
by
Ulrich Sibiller
Committed by
Mike Gabriel
Nov 02, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove __UNIXOS2__ references
parent
603fe255
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
Xtrans.c
nx-X11/lib/xtrans/Xtrans.c
+4
-4
Xtransint.h
nx-X11/lib/xtrans/Xtransint.h
+2
-2
Xtranssock.c
nx-X11/lib/xtrans/Xtranssock.c
+2
-2
No files found.
nx-X11/lib/xtrans/Xtrans.c
View file @
793d587b
...
@@ -631,7 +631,7 @@ TRANS(SetOption) (XtransConnInfo ciptr, int option, int arg)
...
@@ -631,7 +631,7 @@ TRANS(SetOption) (XtransConnInfo ciptr, int option, int arg)
break
;
break
;
case
1
:
/* Set to non-blocking mode */
case
1
:
/* Set to non-blocking mode */
#if defined(O_NONBLOCK) && (!defined(ultrix) && !defined(uniosu) && !defined(
__UNIXOS2__) && !defined(
SCO325))
#if defined(O_NONBLOCK) && (!defined(ultrix) && !defined(uniosu) && !defined(SCO325))
ret
=
fcntl
(
fd
,
F_GETFL
,
0
);
ret
=
fcntl
(
fd
,
F_GETFL
,
0
);
if
(
ret
!=
-
1
)
if
(
ret
!=
-
1
)
ret
=
fcntl
(
fd
,
F_SETFL
,
ret
|
O_NONBLOCK
);
ret
=
fcntl
(
fd
,
F_SETFL
,
ret
|
O_NONBLOCK
);
...
@@ -643,7 +643,7 @@ TRANS(SetOption) (XtransConnInfo ciptr, int option, int arg)
...
@@ -643,7 +643,7 @@ TRANS(SetOption) (XtransConnInfo ciptr, int option, int arg)
ret
=
ioctl
(
fd
,
FIOSNBIO
,
&
arg
);
ret
=
ioctl
(
fd
,
FIOSNBIO
,
&
arg
);
}
}
#else
#else
#if (defined(uniosu) || defined(WIN32)
|| defined(__UNIXOS2__)
) && defined(FIONBIO)
#if (defined(uniosu) || defined(WIN32)) && defined(FIONBIO)
{
{
#ifdef WIN32
#ifdef WIN32
u_long
arg
;
u_long
arg
;
...
@@ -1081,7 +1081,7 @@ TRANS(MakeAllCOTSServerListeners) (char *port, int *partial, int *count_ret,
...
@@ -1081,7 +1081,7 @@ TRANS(MakeAllCOTSServerListeners) (char *port, int *partial, int *count_ret,
* may be used by it.
* may be used by it.
*/
*/
#if (defined(SYSV) && defined(__i386__) && !defined(__SCO__)) || defined(WIN32) || defined(__sxg__)
|| defined(__UNIXOS2__)
#if (defined(SYSV) && defined(__i386__) && !defined(__SCO__)) || defined(WIN32) || defined(__sxg__)
/*
/*
* emulate readv
* emulate readv
...
@@ -1113,7 +1113,7 @@ static int TRANS(ReadV) (XtransConnInfo ciptr, struct iovec *iov, int iovcnt)
...
@@ -1113,7 +1113,7 @@ static int TRANS(ReadV) (XtransConnInfo ciptr, struct iovec *iov, int iovcnt)
#endif
/* SYSV && __i386__ || WIN32 || __sxg__ */
#endif
/* SYSV && __i386__ || WIN32 || __sxg__ */
#if (defined(SYSV) && defined(__i386__) && !defined(__SCO__)) || defined(WIN32) || defined(__sxg__)
|| defined(__UNIXOS2__)
#if (defined(SYSV) && defined(__i386__) && !defined(__SCO__)) || defined(WIN32) || defined(__sxg__)
/*
/*
* emulate writev
* emulate writev
...
...
nx-X11/lib/xtrans/Xtransint.h
View file @
793d587b
...
@@ -282,7 +282,7 @@ typedef struct _Xtransport_table {
...
@@ -282,7 +282,7 @@ typedef struct _Xtransport_table {
* systems, so they may be emulated.
* systems, so they may be emulated.
*/
*/
#if (defined(SYSV) && defined(__i386__) && !defined(__SCO__)) || defined(WIN32) || defined(__sxg__)
|| defined(__UNIXOS2__)
#if (defined(SYSV) && defined(__i386__) && !defined(__SCO__)) || defined(WIN32) || defined(__sxg__)
#define READV(ciptr, iov, iovcnt) TRANS(ReadV)(ciptr, iov, iovcnt)
#define READV(ciptr, iov, iovcnt) TRANS(ReadV)(ciptr, iov, iovcnt)
...
@@ -299,7 +299,7 @@ static int TRANS(ReadV)(
...
@@ -299,7 +299,7 @@ static int TRANS(ReadV)(
#endif
/* (SYSV && __i386__) || WIN32 || __sxg__ || */
#endif
/* (SYSV && __i386__) || WIN32 || __sxg__ || */
#if (defined(SYSV) && defined(__i386__) && !defined(__SCO__)) || defined(WIN32) || defined(__sxg__)
|| defined(__UNIXOS2__)
#if (defined(SYSV) && defined(__i386__) && !defined(__SCO__)) || defined(WIN32) || defined(__sxg__)
#define WRITEV(ciptr, iov, iovcnt) TRANS(WriteV)(ciptr, iov, iovcnt)
#define WRITEV(ciptr, iov, iovcnt) TRANS(WriteV)(ciptr, iov, iovcnt)
...
...
nx-X11/lib/xtrans/Xtranssock.c
View file @
793d587b
...
@@ -2572,7 +2572,7 @@ TRANS(SocketRead) (XtransConnInfo ciptr, char *buf, int size)
...
@@ -2572,7 +2572,7 @@ TRANS(SocketRead) (XtransConnInfo ciptr, char *buf, int size)
#else
/* #if defined(NX_TRANS_SOCKET) && defined(TRANS_CLIENT) */
#else
/* #if defined(NX_TRANS_SOCKET) && defined(TRANS_CLIENT) */
#if defined(WIN32)
|| defined(__UNIXOS2__)
#if defined(WIN32)
{
{
int
ret
=
recv
((
SOCKET
)
ciptr
->
fd
,
buf
,
size
,
0
);
int
ret
=
recv
((
SOCKET
)
ciptr
->
fd
,
buf
,
size
,
0
);
#ifdef WIN32
#ifdef WIN32
...
@@ -2629,7 +2629,7 @@ TRANS(SocketWrite) (XtransConnInfo ciptr, char *buf, int size)
...
@@ -2629,7 +2629,7 @@ TRANS(SocketWrite) (XtransConnInfo ciptr, char *buf, int size)
#else
/* #if defined(NX_TRANS_SOCKET) && defined(TRANS_CLIENT) */
#else
/* #if defined(NX_TRANS_SOCKET) && defined(TRANS_CLIENT) */
#if defined(WIN32)
|| defined(__UNIXOS2__)
#if defined(WIN32)
{
{
int
ret
=
send
((
SOCKET
)
ciptr
->
fd
,
buf
,
size
,
0
);
int
ret
=
send
((
SOCKET
)
ciptr
->
fd
,
buf
,
size
,
0
);
#ifdef WIN32
#ifdef WIN32
...
...
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