OSDN Git Service

Removed OpenBSD-specific macros because there is no OpenBSD port anyway.
authorresver@gmail.com <resver@gmail.com@60bc1c72-a15a-11de-b98f-4500b42dc123>
Thu, 4 Jul 2013 05:39:50 +0000 (05:39 +0000)
committerresver@gmail.com <resver@gmail.com@60bc1c72-a15a-11de-b98f-4500b42dc123>
Thu, 4 Jul 2013 05:39:50 +0000 (05:39 +0000)
git-svn-id: http://exfat.googlecode.com/svn/trunk@364 60bc1c72-a15a-11de-b98f-4500b42dc123

libexfat/platform.h

index 5e73e45..c7d97e0 100644 (file)
 #define __LITTLE_ENDIAN _LITTLE_ENDIAN
 #define __BIG_ENDIAN _BIG_ENDIAN
 
-#elif defined(__OpenBSD__)
-
-#include <machine/endian.h>
-#define bswap_16(x) swap16(x)
-#define bswap_32(x) swap32(x)
-#define bswap_64(x) swap64(x)
-#define __BYTE_ORDER _BYTE_ORDER
-#define __LITTLE_ENDIAN _LITTLE_ENDIAN
-#define __BIG_ENDIAN _BIG_ENDIAN
-
 #else 
 #error Unknown platform
 #endif