summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-20 03:20:27 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:29 +0200
commiteedef37b4ad706b033fad74ae4de87e3cedaf4f2 (patch)
tree942442343fc4f595918aebc59db9b1fc089605e8 /libc/sysdeps
parent56023566de1169f19911097f27297c21134e1fa3 (diff)
do not define _ISOC99_SOURCE in specific files
This should come properly from features.h or the build. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/common/bits/uClibc_fpmax.h4
-rw-r--r--libc/sysdeps/linux/common/bits/uClibc_uintmaxtostr.h10
2 files changed, 0 insertions, 14 deletions
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 <features.h>
#include <float.h>
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 <features.h>
#include <limits.h>
#include <stdint.h>