fzy
terminal fuzzy finder picker
git clone https://9o.is/git/fzy.git
commit 28b02f9f451b63d4410cc32b7160e632e5ae2745 parent 58d0440d7ce760e9b68d5e5202209fb7800eeebd Author: John Hawthorn <john.hawthorn@gmail.com> Date: Wed, 17 Sep 2014 20:23:20 -0700 Move _GNU_SOURCE definition to makefile Diffstat:
| M | Makefile | | | 2 | +- |
| M | fzy.c | | | 1 | - |
| M | tty.c | | | 1 | - |
3 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/Makefile b/Makefile @@ -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 diff --git a/fzy.c b/fzy.c @@ -1,4 +1,3 @@ -#define _GNU_SOURCE #include <stdio.h> #include <string.h> #include <stdlib.h> diff --git a/tty.c b/tty.c @@ -1,4 +1,3 @@ -#define _GNU_SOURCE #include <stdio.h> #include <unistd.h> #include <fcntl.h>