Define _GNU_SOURCE to fix the GNU/kFreeBSD build.
authorRob Browning <rlb@defaultvalue.org>
Sat, 23 Apr 2011 19:57:50 +0000 (14:57 -0500)
committerAndy Wingo <wingo@pobox.com>
Mon, 9 Jan 2012 14:42:31 +0000 (15:42 +0100)
Author: Petr Salinger <Petr.Salinger@seznam.cz>
Closes: #401168

libguile/fports.c

index 1348b8b..3ac3ced 100644 (file)
@@ -20,6 +20,7 @@
 
 \f
 #define _LARGEFILE64_SOURCE      /* ask for stat64 etc */
+#define _GNU_SOURCE              /* ask for LONG_LONG_MAX/LONG_LONG_MIN */
 
 #ifdef HAVE_CONFIG_H
 #  include <config.h>