Mercurial > pidgin
changeset 21668:55146766c91d
Compile fixes for FreeBSD in libgnt
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Tue, 27 Nov 2007 19:30:18 +0000 |
parents | 919338d399ae |
children | 80a57819485e |
files | finch/libgnt/gntmain.c finch/libgnt/gntwm.c |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/finch/libgnt/gntmain.c Tue Nov 27 15:57:08 2007 +0000 +++ b/finch/libgnt/gntmain.c Tue Nov 27 19:30:18 2007 +0000 @@ -21,7 +21,7 @@ */ #define _GNU_SOURCE -#if defined(__APPLE__) || defined(__unix__) +#if (defined(__APPLE__) || defined(__unix__)) && !defined(__FreeBSD__) #define _XOPEN_SOURCE_EXTENDED #endif
--- a/finch/libgnt/gntwm.c Tue Nov 27 15:57:08 2007 +0000 +++ b/finch/libgnt/gntwm.c Tue Nov 27 19:30:18 2007 +0000 @@ -21,7 +21,7 @@ */ #define _GNU_SOURCE -#if defined(__APPLE__) || defined(__unix__) +#if (defined(__APPLE__) || defined(__unix__)) && !defined(__FreeBSD__) #define _XOPEN_SOURCE_EXTENDED #endif