diff options
author | Howard Hinnant <hhinnant@apple.com> | 2011-05-13 17:16:06 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2011-05-13 17:16:06 +0000 |
commit | 3e71464d505b364896375754bf1fc2eb8f0b4d95 (patch) | |
tree | 96ce6ef58d242417c37d856c592cbbf8c21852c6 | |
parent | a8d0c774dac02eddee023506eb466c6ec0ab2f4b (diff) | |
download | bcm5719-llvm-3e71464d505b364896375754bf1fc2eb8f0b4d95.tar.gz bcm5719-llvm-3e71464d505b364896375754bf1fc2eb8f0b4d95.zip |
http://llvm.org/bugs/show_bug.cgi?id=9118
llvm-svn: 131296
-rw-r--r-- | libcxx/include/__config | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libcxx/include/__config b/libcxx/include/__config index 5ccc5ec3328..ef03e62b05b 100644 --- a/libcxx/include/__config +++ b/libcxx/include/__config @@ -47,6 +47,11 @@ # endif // _BYTE_ORDER == _LITTLE_ENDIAN #endif // __FreeBSD__ +#ifdef _WIN32 +# define _LIBCPP_LITTLE_ENDIAN 1 +# define _LIBCPP_BIG_ENDIAN 0 +#endif // _WIN32 + #if !defined(_LIBCPP_LITTLE_ENDIAN) || !defined(_LIBCPP_BIG_ENDIAN) # include <endian.h> # if __BYTE_ORDER == __LITTLE_ENDIAN |