From 83151ec2bbd8405bd33cadcdc2f1d05b74b1e826 Mon Sep 17 00:00:00 2001 From: jsteube Date: Thu, 29 Dec 2016 19:13:06 +0100 Subject: [PATCH] Do not set _GNU_SOURCE if it's set already --- include/common.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/common.h b/include/common.h index 09dba8221..f8881fff2 100644 --- a/include/common.h +++ b/include/common.h @@ -22,7 +22,10 @@ #error Your Operating System is not supported or detected #endif +#ifndef _GNU_SOURCE #define _GNU_SOURCE +#endif + #define _FILE_OFFSET_BITS 64 #define NOMINMAX 1