configure.ac: always define __STDC_CONSTANT_MACROS
[mesa.git] / configure.ac
index 9c3d1a3481e9b144c69fe10406e88429dd2723cb..8d19dabcb77750e73cd08749e10d17df0b2e0816 100644 (file)
@@ -245,7 +245,7 @@ _SAVE_LDFLAGS="$LDFLAGS"
 _SAVE_CPPFLAGS="$CPPFLAGS"
 
 dnl Compiler macros
-DEFINES="-D__STDC_LIMIT_MACROS"
+DEFINES="-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS"
 AC_SUBST([DEFINES])
 case "$host_os" in
 linux*|*-gnu*|gnu*)