diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-01-09 16:53:21 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2017-01-17 17:48:54 +0000 |
commit | 08de3aa3254690425607ceb859d808f7d0852a84 (patch) | |
tree | 6c8dbe599855ce882981c7f374df91318db0453c /include/mupdf/fitz/system.h | |
parent | cc8fba5b4e43bf4c635beee6882284605e9f8076 (diff) | |
download | mupdf-08de3aa3254690425607ceb859d808f7d0852a84.tar.xz |
Remove preprocessor defines from vcproj.
Keeping them up to date is difficult and prone to errors, so we move
setting the USE_OUTPUT_DEBUG_STRING and FZ_LARGEFILE flags to the source
instead of relying on project file definitions.
Diffstat (limited to 'include/mupdf/fitz/system.h')
-rw-r--r-- | include/mupdf/fitz/system.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mupdf/fitz/system.h b/include/mupdf/fitz/system.h index 4be26ed5..54e9c877 100644 --- a/include/mupdf/fitz/system.h +++ b/include/mupdf/fitz/system.h @@ -1,6 +1,10 @@ #ifndef MUPDF_FITZ_SYSTEM_H #define MUPDF_FITZ_SYSTEM_H +#if _MSC_VER >= 1400 /* MSVC 8 (Visual Studio 2005) or newer */ +#define FZ_LARGEFILE +#endif + /* The very first decision we need to make is, are we using the 64bit * file pointers code. This must happen before the stdio.h include. */ #ifdef FZ_LARGEFILE |