From 8635868582c34f5451b1264c1d5452cfe3c48ccf Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Tue, 15 Oct 2019 14:07:35 -0400 Subject: Fix cygwin define check --- tools/br_ips/br_ips.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/br_ips/br_ips.c b/tools/br_ips/br_ips.c index 9400ae1f8..d144c5f39 100644 --- a/tools/br_ips/br_ips.c +++ b/tools/br_ips/br_ips.c @@ -19,7 +19,7 @@ static const char HELP[] = "br_ips\n" "Options:\n" " -h - show this message and exit\n"; -#if !defined(__CYGWIN32__) && !defined(__APPLE__) && (_POSIX_C_SOURCE < 200809L || !_GNU_SOURCE) +#if !defined(__CYGWIN__) && !defined(__APPLE__) && (_POSIX_C_SOURCE < 200809L || !_GNU_SOURCE) static int getline(char ** lineptr, size_t * n, FILE * stream) { // Static implementation of GNU getline int i = 0; -- cgit v1.2.3