summaryrefslogtreecommitdiff
path: root/source/fitz/stream-open.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2015-02-25 18:23:49 +0000
committerRobin Watts <robin.watts@artifex.com>2015-02-25 18:34:37 +0000
commit76dff1dc896a57c9daa96df3177884f59f8cee6c (patch)
treeeeb31d2359b0ebd3b58e3a67434101ee291187ae /source/fitz/stream-open.c
parent92770188d52bed40b9d370fae571897c2b469293 (diff)
downloadmupdf-76dff1dc896a57c9daa96df3177884f59f8cee6c.tar.xz
Add 64 bit windows builds to MSVC solution.
A few casts are required within the code, along with a few #ifdef changes. Some tweaks to curl are required too.
Diffstat (limited to 'source/fitz/stream-open.c')
-rw-r--r--source/fitz/stream-open.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/fitz/stream-open.c b/source/fitz/stream-open.c
index fe8fc443..6994293e 100644
--- a/source/fitz/stream-open.c
+++ b/source/fitz/stream-open.c
@@ -125,7 +125,7 @@ fz_open_fd(fz_context *ctx, int fd)
fz_stream *
fz_open_file(fz_context *ctx, const char *name)
{
-#ifdef _WIN32
+#if defined(_WIN32) || defined(_WIN64)
char *s = (char*)name;
wchar_t *wname, *d;
int c, fd;
@@ -145,7 +145,7 @@ fz_open_file(fz_context *ctx, const char *name)
return fz_open_fd(ctx, fd);
}
-#ifdef _WIN32
+#if defined(_WIN32) || defined(_WIN64)
fz_stream *
fz_open_file_w(fz_context *ctx, const wchar_t *name)
{