summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/strings.h
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/include/strings.h')
-rw-r--r--newlib/libc/include/strings.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/include/strings.h b/newlib/libc/include/strings.h
index 1d5bda673..5ed846f5c 100644
--- a/newlib/libc/include/strings.h
+++ b/newlib/libc/include/strings.h
@@ -15,7 +15,7 @@
_BEGIN_STD_C
-#ifndef __STRICT_ANSI__
+#if !defined __STRICT_ANSI__ && _POSIX_VERSION < 200809L
/*
* Marked LEGACY in Open Group Base Specifications Issue 6/IEEE Std 1003.1-2004
* Removed from Open Group Base Specifications Issue 7/IEEE Std 1003.1-2008