[libcxx] r292028 - Fix demangle.h on Windows

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 14 12:21:18 PST 2017


Author: ericwf
Date: Sat Jan 14 14:21:18 2017
New Revision: 292028

URL: http://llvm.org/viewvc/llvm-project?rev=292028&view=rev
Log:
Fix demangle.h on Windows

Modified:
    libcxx/trunk/test/support/demangle.h

Modified: libcxx/trunk/test/support/demangle.h
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/support/demangle.h?rev=292028&r1=292027&r2=292028&view=diff
==============================================================================
--- libcxx/trunk/test/support/demangle.h (original)
+++ libcxx/trunk/test/support/demangle.h Sat Jan 14 14:21:18 2017
@@ -16,7 +16,7 @@
 
 #if !defined(TEST_HAS_NO_DEMANGLE)
 # if defined(__GNUC__) || defined(__clang__)
-#   if __has_include("cxxabi.h")
+#   if __has_include("cxxabi.h") && !defined(_LIBCPP_ABI_MICROSOFT)
 #     include "cxxabi.h"
 #   else
 #     define TEST_HAS_NO_DEMANGLE




More information about the cfe-commits mailing list