Module: wine Branch: master Commit: 128bfdf6daee613aae909ecdfc619d82ecbb4106 URL: http://source.winehq.org/git/wine.git/?a=commit;h=128bfdf6daee613aae909ecdfc... Author: André Hentschel <nerv(a)dawncrow.de> Date: Thu Sep 19 20:50:55 2013 +0200 include: Don't redefine _GNU_SOURCE. --- include/wine/port.h | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/include/wine/port.h b/include/wine/port.h index 09dbf61..c5359dd 100644 --- a/include/wine/port.h +++ b/include/wine/port.h @@ -29,7 +29,9 @@ # error You must include port.h before all other headers #endif -#define _GNU_SOURCE /* for pread/pwrite */ +#ifndef _GNU_SOURCE +# define _GNU_SOURCE /* for pread/pwrite */ +#endif #include <fcntl.h> #include <math.h> #include <sys/types.h>