Skip to content
Snippets Groups Projects
Commit e5639bd4 authored by Luigi Scarso's avatar Luigi Scarso
Browse files

delete missed files

parent 321588b5
Branches
Tags
No related merge requests found
--- ../poppler/Lexer.cc.orig 2018-01-06 19:38:38.565366141 +0100
+++ ../poppler/Lexer.cc 2018-01-06 19:39:04.945365059 +0100
@@ -39,6 +39,21 @@
#include "Error.h"
#include "XRef.h"
+
+/* <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
+
//------------------------------------------------------------------------
// A '1' in this array means the character is white space. A '1' or
--- ../poppler/PDFDoc.cc.orig 2018-01-06 19:39:54.521363026 +0100
+++ ../poppler/PDFDoc.cc 2018-01-06 19:40:38.417361226 +0100
@@ -85,6 +85,20 @@
#include "Hints.h"
#include "UTF.h"
+/* <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
+
#ifdef MULTITHREADED
# define pdfdocLocker() MutexLocker locker(&mutex)
#else
--- ../poppler/Object.h.orig 2018-01-06 19:45:02.045350416 +0100
+++ ../poppler/Object.h 2018-01-06 20:00:59.721311143 +0100
@@ -208,7 +208,7 @@
GBool isName(const char *nameA) const
{ return type == objName && !strcmp(cString, nameA); }
GBool isDict(const char *dictType) const;
- GBool isStream(char *dictType) const;
+ GBool isStream(const char *dictType) const;
GBool isCmd(const char *cmdA) const
{ return type == objCmd && !strcmp(cString, cmdA); }
@@ -265,7 +265,7 @@
Object dictGetValNF(int i) const;
// Stream accessors.
- GBool streamIs(char *dictType) const;
+ GBool streamIs(const char *dictType) const;
void streamReset();
void streamClose();
int streamGetChar() const;
@@ -380,10 +380,10 @@
#include "Stream.h"
-inline GBool Object::streamIs(char *dictType) const
+inline GBool Object::streamIs(const char *dictType) const
{ OBJECT_TYPE_CHECK(objStream); return stream->getDict()->is(dictType); }
-inline GBool Object::isStream(char *dictType) const
+inline GBool Object::isStream(const char *dictType) const
{ return type == objStream && streamIs(dictType); }
inline void Object::streamReset()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment