Eliminate the need to use -DQNX by switching to __QNX__, predefined by the compiler.

git-svn-id: svn://10.0.0.236/trunk@31556 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
briano%netscape.com
1999-05-14 01:46:00 +00:00
parent 93c43d1300
commit 4d93badf2f
6 changed files with 6 additions and 6 deletions

View File

@@ -64,7 +64,7 @@
#include <bsd/libc.h>
#endif
#ifdef QNX
#ifdef __QNX__
#include <unix.h>
#endif

View File

@@ -49,7 +49,7 @@
#include "sunos4.h"
#endif
#ifdef QNX
#ifdef __QNX__
#define D_INO d_stat.st_ino
#else
#define D_INO d_ino

View File

@@ -120,7 +120,7 @@
#include <sys/endian.h>
#endif
#ifdef QNX
#ifdef __QNX__
#define LITTLE_ENDIAN 1234
#define BIG_ENDIAN 4321
#define BYTE_ORDER LITTLE_ENDIAN

View File

@@ -412,7 +412,7 @@ init_hash(HTAB *hashp, const char *file, HASHINFO *info)
return (NULL);
#if !defined(_WIN32) && !defined(_WINDOWS) && !defined(macintosh)
#ifdef QNX
#ifdef __QNX__
hashp->BSIZE = statbuf.st_size;
#else
hashp->BSIZE = statbuf.st_blksize;

View File

@@ -93,7 +93,7 @@ extern char * strdup (const char * s);
XP_END_PROTOS
#endif
#ifndef QNX
#ifndef __QNX__
#include <memory.h>
#endif

View File

@@ -39,7 +39,7 @@
#define INT64 long
#endif
#else
#if defined(HPUX) || defined(QNX) || defined(SCO) || defined(UNIXWARE)
#if defined(HPUX) || defined(__QNX__) || defined(SCO) || defined(UNIXWARE)
#define INT64 long
#else
#define INT64 long long