Define __STDC_LIMIT_MACROS for c++ code to get SIZE_MAX

We need SIZE_MAX for the malloc overflow code, and its not defined
in C++ unless __STDC_LIMIT_MACROS is defined.
This commit is contained in:
Alexander Larsson 2010-03-10 21:04:44 +01:00
parent 0230541af5
commit 22b551f97f

View File

@ -8,6 +8,7 @@ INCLUDES = \
-DCAIRO_CANVAS_NO_CHUNKS \
-DUSE_GLZ \
-DUSE_OGL \
-D__STDC_LIMIT_MACROS \
-I. \
-I.. \
-I$(top_srcdir)/common \