From: Matt Turner Date: Tue, 11 Aug 2015 22:21:03 +0000 (-0700) Subject: configure.ac: Always define __STDC_LIMIT_MACROS. X-Git-Tag: upstream/17.1.0~16955 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=02a4fe22b137d4bc8378bedd8319109fd23a50e3;p=platform%2Fupstream%2Fmesa.git configure.ac: Always define __STDC_LIMIT_MACROS. ... which ensures that we get defines like LONG_MAX in C++. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91591 Reviewed-by: Jose Fonseca --- diff --git a/configure.ac b/configure.ac index 36197d3..4e751e3 100644 --- a/configure.ac +++ b/configure.ac @@ -235,7 +235,7 @@ _SAVE_LDFLAGS="$LDFLAGS" _SAVE_CPPFLAGS="$CPPFLAGS" dnl Compiler macros -DEFINES="" +DEFINES="-D__STDC_LIMIT_MACROS" AC_SUBST([DEFINES]) case "$host_os" in linux*|*-gnu*|gnu*)