From 8c275ffcbaff2a792aad5f9de9308771536704f3 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Sat, 22 Nov 2014 07:25:02 -0800 Subject: [PATCH] Fix Mac build. Change-Id: Iae697ae257cf4b1d675e2b758dd31d5a6a71ae4d --- include/utils/Endian.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/utils/Endian.h b/include/utils/Endian.h index a38309337..591cae0d3 100644 --- a/include/utils/Endian.h +++ b/include/utils/Endian.h @@ -20,7 +20,7 @@ #ifndef _LIBS_UTILS_ENDIAN_H #define _LIBS_UTILS_ENDIAN_H -#if defined(_WIN32) +#if defined(__APPLE__) || defined(_WIN32) #define __BIG_ENDIAN 0x1000 #define __LITTLE_ENDIAN 0x0001