[libcxx] r265358 - Put back the undefs that Richard removed. Boost won't build w/o these; specifically the file 'bytes_methods.h' in Apple's python framework defines these.

Marshall Clow via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 4 15:49:23 PDT 2016


Author: marshall
Date: Mon Apr  4 17:49:20 2016
New Revision: 265358

URL: http://llvm.org/viewvc/llvm-project?rev=265358&view=rev
Log:
Put back the undefs that Richard removed. Boost won't build w/o these; specifically the file 'bytes_methods.h' in Apple's python framework defines these.

Modified:
    libcxx/trunk/include/cctype

Modified: libcxx/trunk/include/cctype
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/cctype?rev=265358&r1=265357&r2=265358&view=diff
==============================================================================
--- libcxx/trunk/include/cctype (original)
+++ libcxx/trunk/include/cctype Mon Apr  4 17:49:20 2016
@@ -44,6 +44,63 @@ int toupper(int c);
 
 _LIBCPP_BEGIN_NAMESPACE_STD
 
+#ifdef isalnum
+#undef isalnum
+#endif
+
+#ifdef isalpha
+#undef isalpha
+#endif
+
+#ifdef isblank
+#undef isblank
+#endif
+
+#ifdef iscntrl
+#undef iscntrl
+#endif
+
+#ifdef isdigit
+#undef isdigit
+#endif
+
+#ifdef isgraph
+#undef isgraph
+#endif
+
+#ifdef islower
+#undef islower
+#endif
+
+#ifdef isprint
+#undef isprint
+#endif
+
+#ifdef ispunct
+#undef ispunct
+#endif
+
+#ifdef isspace
+#undef isspace
+#endif
+
+#ifdef isupper
+#undef isupper
+#endif
+
+#ifdef isxdigit
+#undef isxdigit
+#endif
+
+#ifdef tolower
+#undef tolower
+#endif
+
+#ifdef toupper
+#undef toupper
+#endif
+
+
 using ::isalnum;
 using ::isalpha;
 using ::isblank;




More information about the cfe-commits mailing list