summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-11-22 07:25:02 -0800
committerElliott Hughes <enh@google.com>2014-11-22 07:25:02 -0800
commit8c275ffcbaff2a792aad5f9de9308771536704f3 (patch)
tree6739a03dfbf624351ccc2d1be968649103312f70 /include
parent0101b06fa6f9863ee87e89757e70900c3a0e7bfc (diff)
downloadsystem_core-8c275ffcbaff2a792aad5f9de9308771536704f3.zip
system_core-8c275ffcbaff2a792aad5f9de9308771536704f3.tar.gz
system_core-8c275ffcbaff2a792aad5f9de9308771536704f3.tar.bz2
Fix Mac build.
Change-Id: Iae697ae257cf4b1d675e2b758dd31d5a6a71ae4d
Diffstat (limited to 'include')
-rw-r--r--include/utils/Endian.h2
1 files changed, 1 insertions, 1 deletions
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