From e14574eb68271fb9d1e255950c5a304f36d9a6ba Mon Sep 17 00:00:00 2001
From: Diego Biurrun <diego@biurrun.de>
Date: Thu, 26 May 2011 14:21:04 +0200
Subject: [PATCH] configure: Add -D_GNU_SOURCE to CPPFLAGS on OS/2.

The flag is required for some C99 math functions to be declared.
---
 configure | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index c628ff65bb6..d3e8764fb90 100755
--- a/configure
+++ b/configure
@@ -2477,6 +2477,7 @@ case $target_os in
     os/2*)
         ln_s="cp -f"
         objformat="aout"
+        add_cppflags -D_GNU_SOURCE
         add_ldflags -Zomf -Zbin-files -Zargs-wild -Zmap
         SHFLAGS='$(SUBDIR)$(NAME).def -Zdll -Zomf'
         FFSERVERLDFLAGS=""
-- 
GitLab