Introduction
Introduction Statistics Contact Development Disclaimer Help
fix _POSIX_C_SOURCE - gramscii - A simple editor for ASCII box-and-arrow charts
Log
Files
Refs
Tags
README
LICENSE
---
commit 864ec4a6c5ef86273653af4eaab9315bd1b7bbca
parent 5157bd6a0b2dcda08143fd725e1c04dadc315bdc
Author: KatolaZ <[email protected]>
Date: Wed, 14 Oct 2020 11:29:58 +0100
fix _POSIX_C_SOURCE
Diffstat:
M draw.c | 2 +-
M files.c | 2 +-
M gramscii.c | 2 +-
M gramscii.h | 2 +-
M lineset.c | 2 ++
M screen.c | 2 +-
6 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/draw.c b/draw.c
@@ -1,4 +1,4 @@
-#define _POSIX_C_SOURCE 2
+#define _POSIX_C_SOURCE 200112L
#include <stdlib.h>
#include <string.h>
diff --git a/files.c b/files.c
@@ -1,4 +1,4 @@
-#define _POSIX_C_SOURCE 2
+#define _POSIX_C_SOURCE 200112L
#include <stdio.h>
#include <string.h>
diff --git a/gramscii.c b/gramscii.c
@@ -20,7 +20,7 @@
*
*/
-#define _POSIX_C_SOURCE 2
+#define _POSIX_C_SOURCE 200112L
#include <stdio.h>
#include <stdlib.h>
diff --git 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 <stdio.h>
#include <termios.h>
diff --git a/lineset.c b/lineset.c
@@ -1,3 +1,5 @@
+#define _POSIX_C_SOURCE 200112L
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/screen.c b/screen.c
@@ -1,4 +1,4 @@
-#define _POSIX_C_SOURCE 2
+#define _POSIX_C_SOURCE 200112L
#include <stdio.h>
#include <stdlib.h>
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.