[PATCH] D24504: [interception] Avoid duplicate declaration of isdigit in test
Jonas Hahnfeld via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 13 06:28:32 PDT 2016
Hahnfeld created this revision.
Hahnfeld added a reviewer: etienneb.
Hahnfeld added a subscriber: llvm-commits.
https://reviews.llvm.org/D24504
Files:
lib/interception/tests/interception_linux_test.cc
Index: lib/interception/tests/interception_linux_test.cc
===================================================================
--- lib/interception/tests/interception_linux_test.cc
+++ 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.71156.patch
Type: text/x-patch
Size: 505 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160913/a8ef7ec7/attachment.bin>
More information about the llvm-commits
mailing list