]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Ensure that <stdint.h> defines SIZE_MAX in C++ mode.
authorBruno Haible <bruno@clisp.org>
Tue, 2 Jan 2007 20:56:14 +0000 (20:56 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:14:35 +0000 (12:14 +0200)
gettext-tools/src/ChangeLog
gettext-tools/src/Makefile.am

index a1e53a5ebc7351ccfb9e3243bcea4643a253000c..75ab8448e8177156724c7b8264bec98837f9caf8 100644 (file)
@@ -1,3 +1,7 @@
+2006-12-24  Bruno Haible  <bruno@clisp.org>
+
+       * Makefile.am (AM_CXXFLAGS): New variable.
+
 2006-12-23  Bruno Haible  <bruno@clisp.org>
 
        * color.c (print_color_test): Print labels before the hue/saturation
index 98c4c100a6a1abd1186c832623bf8e61a0a5a671..6c3de1a404c0b92eb71bbd8df117728f5e325d18 100644 (file)
@@ -78,6 +78,8 @@ DEFS = \
   -DLIBDIR=\"$(libdir)\" \
   -DGETTEXTDATADIR=\"$(pkgdatadir)\" \
   -DPROJECTSDIR=\"$(projectsdir)\" @DEFS@
+# Ensure that <stdint.h> 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