From 1c73374d2633371fe4a81d6c4794cc8d0474add6 Mon Sep 17 00:00:00 2001 From: relan Date: Wed, 3 Jul 2013 17:35:11 +0000 Subject: [PATCH] Remove Solaris-specific macros. Solaris support is broken anyway. --- libexfat/platform.h | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/libexfat/platform.h b/libexfat/platform.h index 320f757..5e73e45 100644 --- a/libexfat/platform.h +++ b/libexfat/platform.h @@ -58,20 +58,6 @@ #define __LITTLE_ENDIAN _LITTLE_ENDIAN #define __BIG_ENDIAN _BIG_ENDIAN -#elif defined(__sun) - -#include -#define bswap_16(x) BSWAP_16(x) -#define bswap_32(x) BSWAP_32(x) -#define bswap_64(x) BSWAP_64(x) -#define __LITTLE_ENDIAN 1234 -#define __BIG_ENDIAN 4321 -#ifdef _LITTLE_ENDIAN -#define __BYTE_ORDER __LITTLE_ENDIAN -#else -#define __BYTE_ORDER __BIG_ENDIAN -#endif - #else #error Unknown platform #endif -- 2.11.0