diff options
author | briano%netscape.com <devnull@localhost> | 1999-05-14 01:45:58 +0000 |
---|---|---|
committer | briano%netscape.com <devnull@localhost> | 1999-05-14 01:45:58 +0000 |
commit | 9b7ad8bfef6ed4e2e52f2691a3242a96fca1cd9d (patch) | |
tree | 85bee3e6162b26052b34b2f1d436fe056451fc9f | |
parent | bc48160780344d0e6887931549c3b5c69e7b9f99 (diff) | |
download | nss-hg-9b7ad8bfef6ed4e2e52f2691a3242a96fca1cd9d.tar.gz |
Eliminate the need to use -DQNX by switching to __QNX__, predefined by the compiler.XPCOM21_BASESeaMonkey_M6_BASE
-rw-r--r-- | dbm/include/mcom_db.h | 2 | ||||
-rw-r--r-- | dbm/src/hash.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dbm/include/mcom_db.h b/dbm/include/mcom_db.h index 3f2d517c9..2625aa0b4 100644 --- a/dbm/include/mcom_db.h +++ b/dbm/include/mcom_db.h @@ -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 diff --git a/dbm/src/hash.c b/dbm/src/hash.c index 2eb1c7e63..10001a39a 100644 --- a/dbm/src/hash.c +++ b/dbm/src/hash.c @@ -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; |