Author: tpot
Date: 2005-09-24 22:58:18 +0000 (Sat, 24 Sep 2005)
New Revision: 10481

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10481

Log:
#define _GNU_SOURCE for comparison_fn_t test.

Modified:
   branches/SAMBA_4_0/source/SConstruct


Changeset:
Modified: branches/SAMBA_4_0/source/SConstruct
===================================================================
--- branches/SAMBA_4_0/source/SConstruct        2005-09-24 22:37:54 UTC (rev 
10480)
+++ branches/SAMBA_4_0/source/SConstruct        2005-09-24 22:58:18 UTC (rev 
10481)
@@ -137,7 +137,7 @@
        # Pull in GNU extensions
        defines['_GNU_SOURCE'] = 1
 
-       if conf.CheckType('comparison_fn_t', '#include <stdlib.h>'):
+       if conf.CheckType('comparison_fn_t', '#define _GNU_SOURCE\n#include 
<stdlib.h>'):
                defines['HAVE_COMPARISON_FN_T'] = 1
 
        if conf.CheckType('sig_atomic_t', '#include <signal.h>'):

Reply via email to