commit | 8c275ffcbaff2a792aad5f9de9308771536704f3 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Sat Nov 22 07:25:02 2014 -0800 |
committer | Elliott Hughes <enh@google.com> | Sat Nov 22 07:25:02 2014 -0800 |
tree | 6739a03dfbf624351ccc2d1be968649103312f70 | |
parent | 0101b06fa6f9863ee87e89757e70900c3a0e7bfc [diff] |
Fix Mac build. Change-Id: Iae697ae257cf4b1d675e2b758dd31d5a6a71ae4d
diff --git a/include/utils/Endian.h b/include/utils/Endian.h index a383093..591cae0 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