]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Make it compile on platforms that lack SIZE_MAX or ssize_t.
authorBruno Haible <bruno@clisp.org>
Wed, 19 Nov 2003 17:11:32 +0000 (17:11 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:11:18 +0000 (12:11 +0200)
gettext-runtime/libasprintf/ChangeLog
gettext-runtime/libasprintf/configure.ac

index e80a6850c0133c84a51afe517c297950486beb2d..85faef96ab2a73a72e7b803fa8918a5d9a577a9f 100644 (file)
@@ -1,3 +1,8 @@
+2003-11-19  Bruno Haible  <bruno@clisp.org>
+
+       * configure.ac: Better test for ptrdiff_t. Invoke gt_TYPE_SSIZE_T and
+       gl_XSIZE.
+
 2003-11-17  Bruno Haible  <bruno@clisp.org>
 
        * vasnprintf.c (alloca): Remove fallback definition.
index a5d89950c5a8cdfa1e3580679da10712d27748d4..d08c9c9c7ffb9f71d90e4187eb02039caf03cdd7 100644 (file)
@@ -52,8 +52,13 @@ jm_AC_TYPE_LONG_LONG
 gt_TYPE_LONGDOUBLE
 gt_TYPE_WCHAR_T
 gt_TYPE_WINT_T
-AC_CHECK_TYPES(ptrdiff_t)
+AC_CHECK_TYPE([ptrdiff_t], ,
+  [AC_DEFINE([ptrdiff_t], [long],
+     [Define as the type of the result of subtracting two pointers, if the system doesn't define it.])
+  ])
 gt_TYPE_INTMAX_T
+gt_TYPE_SSIZE_T
+gl_XSIZE
 
 dnl Checks for library functions.