summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2016-04-26 15:10:26 +0100
committerRobin Watts <robin.watts@artifex.com>2016-04-26 15:12:00 +0100
commita2fc54fe202624b7f82662eb9ca04c718d886718 (patch)
tree4724b21de56fab3321030bc540c32af2045040cf
parenta7c3d73078f9e0cfc12d7eee86d0e2de197768ab (diff)
downloadmupdf-a2fc54fe202624b7f82662eb9ca04c718d886718.tar.xz
MSVC: Fix MSVC builds.
Some new files hadn't been added to the solution, and we were calling strcasecmp instead of fz_strcasecmp.
-rw-r--r--platform/win32/libmupdf.vcproj20
-rw-r--r--platform/win32/mutool.vcproj12
-rw-r--r--source/fitz/writer.c2
3 files changed, 27 insertions, 7 deletions
diff --git a/platform/win32/libmupdf.vcproj b/platform/win32/libmupdf.vcproj
index d48d6ef6..f343bd10 100644
--- a/platform/win32/libmupdf.vcproj
+++ b/platform/win32/libmupdf.vcproj
@@ -983,6 +983,10 @@
>
</File>
<File
+ RelativePath="..\..\source\fitz\output-cbz.c"
+ >
+ </File>
+ <File
RelativePath="..\..\source\fitz\output-pcl.c"
>
</File>
@@ -1119,9 +1123,17 @@
>
</File>
<File
+ RelativePath="..\..\source\fitz\writer.c"
+ >
+ </File>
+ <File
RelativePath="..\..\source\fitz\xml.c"
>
</File>
+ <File
+ RelativePath="..\..\source\fitz\zip.c"
+ >
+ </File>
</Filter>
<Filter
Name="pdf"
@@ -1206,7 +1218,7 @@
RelativePath="..\..\source\pdf\pdf-glyphlist.h"
>
</File>
- <File
+ <File
RelativePath="..\..\source\pdf\pdf-graft.c"
>
</File>
@@ -1397,7 +1409,7 @@
RelativePath="..\..\include\mupdf\pdf\font.h"
>
</File>
- <File
+ <File
RelativePath="..\..\include\mupdf\pdf\graft.h"
>
</File>
@@ -1634,6 +1646,10 @@
>
</File>
<File
+ RelativePath="..\..\include\mupdf\fitz\writer.h"
+ >
+ </File>
+ <File
RelativePath="..\..\include\mupdf\fitz\xml.h"
>
</File>
diff --git a/platform/win32/mutool.vcproj b/platform/win32/mutool.vcproj
index 1bf3e485..ff707d16 100644
--- a/platform/win32/mutool.vcproj
+++ b/platform/win32/mutool.vcproj
@@ -463,6 +463,10 @@
</References>
<Files>
<File
+ RelativePath="..\..\source\tools\muconvert.c"
+ >
+ </File>
+ <File
RelativePath="..\..\source\tools\mudraw.c"
>
</File>
@@ -486,15 +490,15 @@
RelativePath="..\..\source\tools\pdfextract.c"
>
</File>
- <File
- RelativePath="..\..\source\tools\pdfmerge.c"
- >
- </File>
<File
RelativePath="..\..\source\tools\pdfinfo.c"
>
</File>
<File
+ RelativePath="..\..\source\tools\pdfmerge.c"
+ >
+ </File>
+ <File
RelativePath="..\..\source\tools\pdfpages.c"
>
</File>
diff --git a/source/fitz/writer.c b/source/fitz/writer.c
index a127a47d..8de6e0b0 100644
--- a/source/fitz/writer.c
+++ b/source/fitz/writer.c
@@ -11,7 +11,7 @@ fz_new_document_writer(fz_context *ctx, const char *path, const char *format, co
format += 1; /* skip the '.' */
}
- if (!strcasecmp(format, "cbz"))
+ if (!fz_strcasecmp(format, "cbz"))
return fz_new_cbz_writer(ctx, path, options);
fz_throw(ctx, FZ_ERROR_GENERIC, "unknown document format: %s", format);