From: Jean Privat Date: Thu, 5 Jan 2012 01:28:20 +0000 (-0500) Subject: lib: remove macro definition _POSIX_C_SOURCE X-Git-Tag: v0.5~35^2^2 X-Git-Url: http://nitlanguage.org 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 --- 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