diff options
-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; |