mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 02:22:57 +01:00
fix for gcc
This commit is contained in:
parent
8725382c15
commit
4e98ecfc29
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user