From de8567c0b9320e4799c0d04f0ae5a2d5bfa2a5c1 Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Wed, 4 Jan 2012 20:28:20 -0500 Subject: [PATCH] lib: remove macro definition _POSIX_C_SOURCE They where initially added to please --pedantic but cause some ugly portability issues. Signed-off-by: Jean Privat --- c_src/environ_nit.h | 1 - c_src/exec_nit.h | 1 - lib/standard/environ_nit.h | 1 - lib/standard/exec_nit.h | 1 - 4 files changed, 4 deletions(-) diff --git a/c_src/environ_nit.h b/c_src/environ_nit.h index 221286c..18478cf 100644 --- a/c_src/environ_nit.h +++ b/c_src/environ_nit.h @@ -13,7 +13,6 @@ * another product. */ -#define _POSIX_C_SOURCE 1 #include #define string_NativeString_NativeString_get_environ_0(self) getenv(self) diff --git a/c_src/exec_nit.h b/c_src/exec_nit.h index a0c8352..93caf0c 100644 --- a/c_src/exec_nit.h +++ b/c_src/exec_nit.h @@ -14,7 +14,6 @@ * another product. */ -#define _POSIX_C_SOURCE 1 #include #include #include diff --git a/lib/standard/environ_nit.h b/lib/standard/environ_nit.h index 10633ef..9fdc203 100644 --- a/lib/standard/environ_nit.h +++ b/lib/standard/environ_nit.h @@ -13,7 +13,6 @@ * another product. */ -#define _POSIX_C_SOURCE 1 #include #define string_NativeString_NativeString_get_environ_0(self) getenv(self) diff --git a/lib/standard/exec_nit.h b/lib/standard/exec_nit.h index ec3efd4..7c7659d 100644 --- a/lib/standard/exec_nit.h +++ b/lib/standard/exec_nit.h @@ -14,7 +14,6 @@ * another product. */ -#define _POSIX_C_SOURCE 1 #include #include #include -- 1.7.9.5