From 1dfc6c9535d28f8c7abf61502d36aa3b1cbd6f8f Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Wed, 8 Dec 2010 02:47:14 +0000 Subject: strings.h: avoid namespace pollution * libc/include/strings.h: Don't declare removed functions when requesting POSIX 2008 compliance. --- newlib/libc/include/strings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'newlib/libc/include/strings.h') 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 -- cgit v1.2.3