summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2013-03-21 08:37:56 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2013-03-21 08:37:56 +0000
commitabd0b00a4e8c1ac6f5b20c7474d70ef579129991 (patch)
tree51259110cf1c41203fd941473d5eac96328c1871 /Build
parent999e823abf1a1539de5e0d32863d9b53fc0fefe2 (diff)
pixman: Portability fix for Solaris 9 (again)
git-svn-id: svn://tug.org/texlive/trunk@29452 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rwxr-xr-xBuild/source/libs/pixman/configure2
-rw-r--r--Build/source/libs/pixman/configure.ac2
2 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/libs/pixman/configure b/Build/source/libs/pixman/configure
index f1656ecd643..c184e225000 100755
--- a/Build/source/libs/pixman/configure
+++ b/Build/source/libs/pixman/configure
@@ -12623,7 +12623,7 @@ if test "x$ac_cv_have_decl_SIZE_MAX" = xyes; then :
else
-$as_echo "#define SIZE_MAX /**/" >>confdefs.h
+$as_echo "#define SIZE_MAX ((size_t)-1)" >>confdefs.h
fi
diff --git a/Build/source/libs/pixman/configure.ac b/Build/source/libs/pixman/configure.ac
index 01bff6e8396..ff045b6eef9 100644
--- a/Build/source/libs/pixman/configure.ac
+++ b/Build/source/libs/pixman/configure.ac
@@ -91,7 +91,7 @@ AC_DEFUN([PIXMAN_LINK_WITH_ENV],[dnl
dnl Define SIZE_MAX if necessary, e.g., for Solaris 9.
AC_CHECK_DECL([SIZE_MAX], ,
- [AC_DEFINE([SIZE_MAX], ,
+ [AC_DEFINE([SIZE_MAX], [((size_t)-1)],
[Define to `((size_t)-1)' if <stdint.h> does not define it.])])
dnl Find a -Werror for catching warnings.