From 864ec4a6c5ef86273653af4eaab9315bd1b7bbca Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Wed, 14 Oct 2020 11:29:58 +0100 Subject: fix _POSIX_C_SOURCE --- draw.c | 2 +- files.c | 2 +- gramscii.c | 2 +- gramscii.h | 2 +- lineset.c | 2 ++ screen.c | 2 +- 6 files changed, 7 insertions(+), 5 deletions(-) diff --git a/draw.c b/draw.c index 711d1ae..a6deab0 100644 --- a/draw.c +++ b/draw.c @@ -1,4 +1,4 @@ -#define _POSIX_C_SOURCE 2 +#define _POSIX_C_SOURCE 200112L #include #include diff --git a/files.c b/files.c index 37aac48..9ca173f 100644 --- a/files.c +++ b/files.c @@ -1,4 +1,4 @@ -#define _POSIX_C_SOURCE 2 +#define _POSIX_C_SOURCE 200112L #include #include diff --git a/gramscii.c b/gramscii.c index 008adce..769832f 100644 --- a/gramscii.c +++ b/gramscii.c @@ -20,7 +20,7 @@ * */ -#define _POSIX_C_SOURCE 2 +#define _POSIX_C_SOURCE 200112L #include #include diff --git a/gramscii.h b/gramscii.h index e6c5b77..96445d3 100644 --- a/gramscii.h +++ b/gramscii.h @@ -1,7 +1,7 @@ #ifndef __GRAMSCII_H__ #define __GRAMSCII_H__ -#define _POSIX_C_SOURCE 2 +#define _POSIX_C_SOURCE 200112L #include #include diff --git a/lineset.c b/lineset.c index 4710c59..595ccba 100644 --- a/lineset.c +++ b/lineset.c @@ -1,3 +1,5 @@ +#define _POSIX_C_SOURCE 200112L + #include #include #include diff --git a/screen.c b/screen.c index cedd6f9..088847a 100644 --- a/screen.c +++ b/screen.c @@ -1,4 +1,4 @@ -#define _POSIX_C_SOURCE 2 +#define _POSIX_C_SOURCE 200112L #include #include -- cgit v1.2.3