[cfe-commits] [libcxx] r131296 - /libcxx/trunk/include/__config
Howard Hinnant
hhinnant at apple.com
Fri May 13 10:16:06 PDT 2011
Author: hhinnant
Date: Fri May 13 12:16:06 2011
New Revision: 131296
URL: http://llvm.org/viewvc/llvm-project?rev=131296&view=rev
Log:
http://llvm.org/bugs/show_bug.cgi?id=9118
Modified:
libcxx/trunk/include/__config
Modified: libcxx/trunk/include/__config
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/__config?rev=131296&r1=131295&r2=131296&view=diff
==============================================================================
--- libcxx/trunk/include/__config (original)
+++ libcxx/trunk/include/__config Fri May 13 12:16:06 2011
@@ -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
More information about the cfe-commits
mailing list