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
0ca6e599
Commit
0ca6e599
authored
Oct 12, 2016
by
Ulrich Sibiller
Committed by
Mike Gabriel
Nov 02, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
undef __QNX__
parent
4ab02b27
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
Xtrans.c
nx-X11/lib/xtrans/Xtrans.c
+3
-3
Xtransint.h
nx-X11/lib/xtrans/Xtransint.h
+2
-2
No files found.
nx-X11/lib/xtrans/Xtrans.c
View file @
0ca6e599
...
...
@@ -681,7 +681,7 @@ TRANS(SetOption) (XtransConnInfo ciptr, int option, int arg)
break
;
case
1
:
/* Set to non-blocking mode */
#if defined(O_NONBLOCK) && (!defined(ultrix) && !defined(uniosu) && !defined(__UNIXOS2__) && !defined(SCO325))
&& !defined(__QNX__)
#if defined(O_NONBLOCK) && (!defined(ultrix) && !defined(uniosu) && !defined(__UNIXOS2__) && !defined(SCO325))
ret
=
fcntl
(
fd
,
F_GETFL
,
0
);
if
(
ret
!=
-
1
)
ret
=
fcntl
(
fd
,
F_SETFL
,
ret
|
O_NONBLOCK
);
...
...
@@ -693,7 +693,7 @@ TRANS(SetOption) (XtransConnInfo ciptr, int option, int arg)
ret
=
ioctl
(
fd
,
FIOSNBIO
,
&
arg
);
}
#else
#if (defined(uniosu) || defined(WIN32) || defined(__UNIXOS2__)
|| defined(__QNX__)
) && defined(FIONBIO)
#if (defined(uniosu) || defined(WIN32) || defined(__UNIXOS2__)) && defined(FIONBIO)
{
#ifdef WIN32
u_long
arg
;
...
...
@@ -1295,7 +1295,7 @@ static int TRANS(WriteV) (XtransConnInfo ciptr, struct iovec *iov, int iovcnt)
#endif
/* SYSV && i386 || WIN32 || __sxg__ */
#if
(defined(_POSIX_SOURCE) && !defined(__QNX__)
) || defined(USG) || defined(SVR4) || defined(__SCO__)
#if
defined(_POSIX_SOURCE
) || defined(USG) || defined(SVR4) || defined(__SCO__)
#ifndef NEED_UTSNAME
#define NEED_UTSNAME
#endif
...
...
nx-X11/lib/xtrans/Xtransint.h
View file @
0ca6e599
...
...
@@ -96,7 +96,7 @@ from The Open Group.
* to avoid a race condition. JKJ (6/5/97)
*/
# if
(defined(_POSIX_SOURCE) && !defined(__QNX__)
) || defined(USG) || defined(SVR4) || defined(__SCO__)
# if
defined(_POSIX_SOURCE
) || defined(USG) || defined(SVR4) || defined(__SCO__)
# ifndef NEED_UTSNAME
# define NEED_UTSNAME
# endif
...
...
@@ -133,7 +133,7 @@ from The Open Group.
# ifdef NOFILE
# define OPEN_MAX NOFILE
# else
# if !defined(__UNIXOS2__)
&& !defined(__QNX__)
# if !defined(__UNIXOS2__)
# define OPEN_MAX NOFILES_MAX
# else
# define OPEN_MAX 256
...
...
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