diff options
author | John Hawthorn <john.hawthorn@gmail.com> | 2014-09-17 20:23:20 -0700 |
---|---|---|
committer | John Hawthorn <john.hawthorn@gmail.com> | 2014-09-17 20:23:20 -0700 |
commit | 7d4f82900cc324f42c8caaa51ce799d845eb190a (patch) | |
tree | f8c4f5d4374712cd1d29aa7a5f909f0cf4633668 | |
parent | 68862e5666f38f0e9d5d1e82433196658d2233a3 (diff) |
Move _GNU_SOURCE definition to makefile
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | fzy.c | 1 | ||||
-rw-r--r-- | tty.c | 1 |
3 files changed, 1 insertions, 3 deletions
@@ -1,6 +1,6 @@ VERSION=0.1beta -CPPFLAGS=-DVERSION=\"${VERSION}\" +CPPFLAGS=-DVERSION=\"${VERSION}\" -D_GNU_SOURCE CFLAGS+=-Wall -Wextra -g -std=c99 -O3 -pedantic PREFIX?=/usr/local MANDIR?=$(PREFIX)/share/man @@ -1,4 +1,3 @@ -#define _GNU_SOURCE #include <stdio.h> #include <string.h> #include <stdlib.h> @@ -1,4 +1,3 @@ -#define _GNU_SOURCE #include <stdio.h> #include <unistd.h> #include <fcntl.h> |