summaryrefslogtreecommitdiffstats
path: root/gettext-tools
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-01-02 20:56:14 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:14:35 +0200
commite84e936d76d7cbdaaced881b529775165a6c705d (patch)
tree989650d3bc65c8bedaf4a565ccd905173d81fe9b /gettext-tools
parenta35db605a0bfa6ba592dc17c62ac1b75ca7fd950 (diff)
downloadexternal_gettext-e84e936d76d7cbdaaced881b529775165a6c705d.zip
external_gettext-e84e936d76d7cbdaaced881b529775165a6c705d.tar.gz
external_gettext-e84e936d76d7cbdaaced881b529775165a6c705d.tar.bz2
Ensure that <stdint.h> defines SIZE_MAX in C++ mode.
Diffstat (limited to 'gettext-tools')
-rw-r--r--gettext-tools/src/ChangeLog4
-rw-r--r--gettext-tools/src/Makefile.am2
2 files changed, 6 insertions, 0 deletions
diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog
index a1e53a5..75ab844 100644
--- a/gettext-tools/src/ChangeLog
+++ b/gettext-tools/src/ChangeLog
@@ -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
diff --git a/gettext-tools/src/Makefile.am b/gettext-tools/src/Makefile.am
index 98c4c10..6c3de1a 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 <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