1
0
mirror of https://github.com/pocoproject/poco.git synced 2025-04-01 17:25:03 +02:00

fix for gcc

This commit is contained in:
Guenter Obiltschnig 2014-02-04 15:02:25 +01:00
parent 4e98ecfc29
commit f993183637

@ -1,7 +1,7 @@
//
// ByteOrder.h
//
// $Id: //poco/1.4/Foundation/include/Poco/ByteOrder.h#3 $
// $Id: //poco/1.4/Foundation/include/Poco/ByteOrder.h#5 $
//
// Library: Foundation
// Package: Core
@ -154,7 +154,7 @@ inline Int16 ByteOrder::flipBytes(Int16 value)
inline UInt32 ByteOrder::flipBytes(UInt32 value)
{
#if defined(POCO_HAVE_MSC_BYTESWAP)
return _byteswap_ulong(value)
return _byteswap_ulong(value);
#elif defined(POCO_HAVE_GCC_BYTESWAP)
return __builtin_bswap32(value);
#else
@ -174,7 +174,7 @@ inline Int32 ByteOrder::flipBytes(Int32 value)
inline UInt64 ByteOrder::flipBytes(UInt64 value)
{
#if defined(POCO_HAVE_MSC_BYTESWAP)
return _byteswap_uint64(value)
return _byteswap_uint64(value);
#elif defined(POCO_HAVE_GCC_BYTESWAP)
return __builtin_bswap64(value);
#else