fix for gcc

This commit is contained in:
Guenter Obiltschnig 2014-02-04 14:49:04 +01:00
parent 8725382c15
commit 4e98ecfc29

View File

@ -122,8 +122,10 @@ public:
#if !defined(POCO_NO_BYTESWAP_BUILTINS)
#if defined(_MSC_VER)
#define POCO_HAVE_MSC_BYTESWAP 1
#elif defined(__clang__) && __has_builtin(__builtin_bswap32)
#elif defined(__clang__)
#if __has_builtin(__builtin_bswap32)
#define POCO_HAVE_GCC_BYTESWAP 1
#endif
#elif defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3))
#define POCO_HAVE_GCC_BYTESWAP 1
#endif