Skip to content

Commit

Permalink
SDL-1.2: Reenable _GNU_SOURCE define for Linux. Apparently it broke t…
Browse files Browse the repository at this point in the history
…hings.
  • Loading branch information
icculus committed Mar 24, 2015
1 parent 33fad0e commit 9d7b5b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion configure.in
@@ -1,6 +1,7 @@
dnl Process this file with autoconf to produce a configure script.
AC_INIT(README)
AC_CONFIG_HEADER(include/SDL_config.h)
AC_GNU_SOURCE
AC_CONFIG_AUX_DIRS($srcdir/build-scripts)

dnl Set various version strings - taken gratefully from the GTk sources
Expand Down Expand Up @@ -77,7 +78,7 @@ case "$host" in
BASE_LDFLAGS="-mno-cygwin"
;;
*)
BASE_CFLAGS=""
BASE_CFLAGS="-D_GNU_SOURCE=1"
BASE_LDFLAGS=""
;;
esac
Expand Down

0 comments on commit 9d7b5b7

Please sign in to comment.