From d38f4b13d422963b06b4fb92df771aab154539e0 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Wed, 18 Nov 2020 04:07:03 +0530 Subject: Fix #784: support msys2 compilation --- src/nnn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nnn.c b/src/nnn.c index af494b9..7b108b6 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -28,7 +28,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifdef __linux__ +#if defined(__linux__) || defined(MINGW) || defined(__MINGW32__) || defined(__MINGW64__) || defined(__CYGWIN__) #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif -- cgit v1.2.3-70-g09d2