diff --git a/src/google/protobuf/stubs/port.h b/src/google/protobuf/stubs/port.h index d459a94446..31eb97862a 100644 --- a/src/google/protobuf/stubs/port.h +++ b/src/google/protobuf/stubs/port.h @@ -67,11 +67,11 @@ #include // __BYTE_ORDER #elif defined(_AIX) || defined(__TOS_AIX__) #include // BYTE_ORDER +#elif defined(__QNX__) +#include // BYTE_ORDER #else -#if !defined(__QNX__) #include // __BYTE_ORDER #endif -#endif #if ((defined(__LITTLE_ENDIAN__) && !defined(__BIG_ENDIAN__)) || \ (defined(__BYTE_ORDER) && __BYTE_ORDER == __LITTLE_ENDIAN) || \ (defined(BYTE_ORDER) && BYTE_ORDER == LITTLE_ENDIAN)) && \