[PATCH] D24504: [interception] Avoid duplicate declaration of isdigit in test

Jonas Hahnfeld via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 14 08:11:11 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL281486: [interception] Avoid duplicate declaration of isdigit in test (authored by Hahnfeld).

Changed prior to commit:
  https://reviews.llvm.org/D24504?vs=71156&id=71366#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D24504

Files:
  compiler-rt/trunk/lib/interception/tests/interception_linux_test.cc

Index: compiler-rt/trunk/lib/interception/tests/interception_linux_test.cc
===================================================================
--- compiler-rt/trunk/lib/interception/tests/interception_linux_test.cc
+++ compiler-rt/trunk/lib/interception/tests/interception_linux_test.cc
@@ -11,6 +11,10 @@
 // Tests for interception_linux.h.
 //
 //===----------------------------------------------------------------------===//
+
+// Do not declare isdigit in ctype.h.
+#define __NO_CTYPE
+
 #include "interception/interception.h"
 
 #include "gtest/gtest.h"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24504.71366.patch
Type: text/x-patch
Size: 559 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160914/d4d4f487/attachment.bin>


More information about the llvm-commits mailing list