mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 11:08:03 +02:00
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 <jfonseca@vmware.com>
This commit is contained in:
parent
2265321834
commit
02a4fe22b1
1 changed files with 1 additions and 1 deletions
|
|
@ -235,7 +235,7 @@ _SAVE_LDFLAGS="$LDFLAGS"
|
||||||
_SAVE_CPPFLAGS="$CPPFLAGS"
|
_SAVE_CPPFLAGS="$CPPFLAGS"
|
||||||
|
|
||||||
dnl Compiler macros
|
dnl Compiler macros
|
||||||
DEFINES=""
|
DEFINES="-D__STDC_LIMIT_MACROS"
|
||||||
AC_SUBST([DEFINES])
|
AC_SUBST([DEFINES])
|
||||||
case "$host_os" in
|
case "$host_os" in
|
||||||
linux*|*-gnu*|gnu*)
|
linux*|*-gnu*|gnu*)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue