From: Bruno Haible Date: Tue, 2 Jan 2007 20:56:14 +0000 (+0000) Subject: Ensure that defines SIZE_MAX in C++ mode. X-Git-Tag: v0.17~520 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e84e936d76d7cbdaaced881b529775165a6c705d;p=thirdparty%2Fgettext.git Ensure that defines SIZE_MAX in C++ mode. --- diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog index a1e53a5eb..75ab8448e 100644 --- a/gettext-tools/src/ChangeLog +++ b/gettext-tools/src/ChangeLog @@ -1,3 +1,7 @@ +2006-12-24 Bruno Haible + + * Makefile.am (AM_CXXFLAGS): New variable. + 2006-12-23 Bruno Haible * color.c (print_color_test): Print labels before the hue/saturation diff --git a/gettext-tools/src/Makefile.am b/gettext-tools/src/Makefile.am index 98c4c100a..6c3de1a40 100644 --- a/gettext-tools/src/Makefile.am +++ b/gettext-tools/src/Makefile.am @@ -78,6 +78,8 @@ DEFS = \ -DLIBDIR=\"$(libdir)\" \ -DGETTEXTDATADIR=\"$(pkgdatadir)\" \ -DPROJECTSDIR=\"$(projectsdir)\" @DEFS@ +# Ensure that defines SIZE_MAX in C++ mode, like it does in C mode. +AM_CXXFLAGS = -D__STDC_LIMIT_MACROS LDADD = ../gnulib-lib/libgettextlib.la @LTLIBINTL@ SED = sed