fix getsup (HH)
[luatex.git] / source / libs / poppler / poppler-PATCHES / patch-02-LLONG_MAX
blob1e6f0282cb05b1003b1894752282d492463dce87
1 diff -ur poppler-0.51.0.orig/goo/GooString.h poppler-0.51.0/goo/GooString.h
2 --- poppler-0.51.0.orig/goo/GooString.h Fri Dec 16 04:08:06 2016
3 +++ poppler-0.51.0/goo/GooString.h      Mon Jan 16 08:28:38 2017
4 @@ -36,6 +36,21 @@
5  #endif
6  
7  #include <limits.h> // for LLONG_MAX and ULLONG_MAX
9 +/* <limits.h> and/or the compiler may or may not define these.  */
10 +/* Minimum and maximum values a `signed long long int' can hold.  */
11 +#ifndef LLONG_MAX
12 +# define LLONG_MAX     9223372036854775807LL
13 +#endif
14 +#ifndef LLONG_MIN
15 +# define LLONG_MIN     (-LLONG_MAX - 1LL)
16 +#endif
18 +/* Maximum value an `unsigned long long int' can hold.  (Minimum is 0.)  */
19 +#ifndef ULLONG_MAX
20 +# define ULLONG_MAX    18446744073709551615ULL
21 +#endif
23  #include <stdarg.h>
24  #include <stdlib.h> // for NULL
25  #include "gtypes.h"