diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-06-24 08:24:44 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-06-24 08:24:44 +0000 |
commit | 98bd36b19e0aee9d8ef2d560d4fc32ed2036251b (patch) | |
tree | dfb9f52097d0b95d2b8a5f2c1625bb5d5877388f /Build/source/libs/poppler/poppler-0.23.2-PATCHES/patch-02-LLONG_MAX | |
parent | 611c8928492ae0b013c2d2d950980345ea5fe38d (diff) |
poppler 0.23.2
git-svn-id: svn://tug.org/texlive/trunk@30882 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/poppler/poppler-0.23.2-PATCHES/patch-02-LLONG_MAX')
-rw-r--r-- | Build/source/libs/poppler/poppler-0.23.2-PATCHES/patch-02-LLONG_MAX | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Build/source/libs/poppler/poppler-0.23.2-PATCHES/patch-02-LLONG_MAX b/Build/source/libs/poppler/poppler-0.23.2-PATCHES/patch-02-LLONG_MAX new file mode 100644 index 00000000000..bc624d35dc4 --- /dev/null +++ b/Build/source/libs/poppler/poppler-0.23.2-PATCHES/patch-02-LLONG_MAX @@ -0,0 +1,25 @@ +diff -ur poppler-0.23.2.orig/goo/GooString.h poppler-0.23.2/goo/GooString.h +--- poppler-0.23.2.orig/goo/GooString.h 2013-04-16 23:29:11.000000000 +0200 ++++ poppler-0.23.2/goo/GooString.h 2013-06-18 18:28:08.000000000 +0200 +@@ -33,6 +33,21 @@ + #endif + + #include <limits.h> // for LLONG_MAX and ULLONG_MAX ++ ++/* <limits.h> and/or the compiler may or may not define these. */ ++/* Minimum and maximum values a `signed long long int' can hold. */ ++#ifndef LLONG_MAX ++# define LLONG_MAX 9223372036854775807LL ++#endif ++#ifndef LLONG_MIN ++# define LLONG_MIN (-LLONG_MAX - 1LL) ++#endif ++ ++/* Maximum value an `unsigned long long int' can hold. (Minimum is 0.) */ ++#ifndef ULLONG_MAX ++# define ULLONG_MAX 18446744073709551615ULL ++#endif ++ + #include <stdarg.h> + #include <stdlib.h> // for NULL + #include "gtypes.h" |