[compiler-rt] r281486 - [interception] Avoid duplicate declaration of isdigit in test
Jonas Hahnfeld via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 14 08:02:33 PDT 2016
Author: hahnfeld
Date: Wed Sep 14 10:02:32 2016
New Revision: 281486
URL: http://llvm.org/viewvc/llvm-project?rev=281486&view=rev
Log:
[interception] Avoid duplicate declaration of isdigit in test
Differential Revision: https://reviews.llvm.org/D24504
Modified:
compiler-rt/trunk/lib/interception/tests/interception_linux_test.cc
Modified: compiler-rt/trunk/lib/interception/tests/interception_linux_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/interception/tests/interception_linux_test.cc?rev=281486&r1=281485&r2=281486&view=diff
==============================================================================
--- compiler-rt/trunk/lib/interception/tests/interception_linux_test.cc (original)
+++ compiler-rt/trunk/lib/interception/tests/interception_linux_test.cc Wed Sep 14 10:02:32 2016
@@ -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"
More information about the llvm-commits
mailing list