From eedef37b4ad706b033fad74ae4de87e3cedaf4f2 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sun, 20 Mar 2011 03:20:27 +0100 Subject: do not define _ISOC99_SOURCE in specific files This should come properly from features.h or the build. Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/common/bits/uClibc_fpmax.h | 4 ---- libc/sysdeps/linux/common/bits/uClibc_uintmaxtostr.h | 10 ---------- 2 files changed, 14 deletions(-) (limited to 'libc/sysdeps/linux/common') diff --git a/libc/sysdeps/linux/common/bits/uClibc_fpmax.h b/libc/sysdeps/linux/common/bits/uClibc_fpmax.h index e1721bf40..bbea1ae9d 100644 --- a/libc/sysdeps/linux/common/bits/uClibc_fpmax.h +++ b/libc/sysdeps/linux/common/bits/uClibc_fpmax.h @@ -12,10 +12,6 @@ #ifndef _UCLIBC_FPMAX_H #define _UCLIBC_FPMAX_H -#ifndef _ISOC99_SOURCE -#define _ISOC99_SOURCE 1 -#endif - #include #include diff --git a/libc/sysdeps/linux/common/bits/uClibc_uintmaxtostr.h b/libc/sysdeps/linux/common/bits/uClibc_uintmaxtostr.h index 92633ffa6..49e26bf3b 100644 --- a/libc/sysdeps/linux/common/bits/uClibc_uintmaxtostr.h +++ b/libc/sysdeps/linux/common/bits/uClibc_uintmaxtostr.h @@ -28,16 +28,6 @@ #ifndef _UINTMAXTOSTR_H #define _UINTMAXTOSTR_H 1 -#ifdef _FEATURES_H -# ifndef __USE_ISOC99 -# error features was included without defining _ISOC99_SOURCE! -# endif -#else -# ifndef _ISOC99_SOURCE -# define _ISOC99_SOURCE -# endif -#endif - #include #include #include -- cgit v1.2.3