aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2022-10-15 13:10:33 +0200
committerThomas Voss <mail@thomasvoss.com> 2022-10-15 13:10:33 +0200
commite918d8b8a6ba41a84b7b74a7fb8da39adb773c2e (patch)
tree75b77f0965c7b9ee547ae112a958163e69e510a5
parenteeb464250cb869e2f43720614a16952b85a2deca (diff)
Remove POSIXLY_CORRECT and use -D in CFLAGS
-rw-r--r--Makefile2
-rw-r--r--center.c3
2 files changed, 1 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 7ad1d4a..a27d0c8 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
CFLAGS = -Wall -Wextra -Wpedantic -Werror \
-O3 -march=native -mtune=native -fomit-frame-pointer \
- -pipe
+ -pipe -D_POSIX_C_SOURCE=200809
PREFIX = /usr
DPREFIX = ${DESTDIR}${PREFIX}
MANDIR = ${DPREFIX}/share/man
diff --git a/center.c b/center.c
index a565158..7ac5d69 100644
--- a/center.c
+++ b/center.c
@@ -15,9 +15,6 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
-#define POSIXLY_CORRECT
-#define _POSIX_C_SOURCE 200809L
-
#include <sys/ioctl.h>
#include <sys/queue.h>