summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/msan/iconv.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/test/msan/iconv.cc')
-rw-r--r--compiler-rt/test/msan/iconv.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/msan/iconv.cc b/compiler-rt/test/msan/iconv.cc
index 7beb6a01877..7713cb8e5f4 100644
--- a/compiler-rt/test/msan/iconv.cc
+++ b/compiler-rt/test/msan/iconv.cc
@@ -15,7 +15,7 @@ int main(void) {
char inbuf_[100];
strcpy(inbuf_, "sample text");
char outbuf_[100];
-#if defined(__FreeBSD__) || defined(__NetBSD__)
+#if defined(__NetBSD__)
// Some OSes expect the 2nd argument of iconv(3) to be of type const char **
const char *inbuf = inbuf_;
#else
OpenPOWER on IntegriCloud