summaryrefslogtreecommitdiff
path: root/include/fitz/sysdep.h
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2004-10-05 11:05:26 +0200
committerTor Andersson <tor@ghostscript.com>2004-10-05 11:05:26 +0200
commit7edeed5a4fae0199a65dc724c2c131d4d120bf28 (patch)
treec27e90705a7c083643913a82a4deb2d74b385e57 /include/fitz/sysdep.h
parent98e44466052e654c6b34a685fe7dbc433632aecc (diff)
downloadmupdf-7edeed5a4fae0199a65dc724c2c131d4d120bf28.tar.xz
strip out c99-isms for msvc
Diffstat (limited to 'include/fitz/sysdep.h')
-rw-r--r--include/fitz/sysdep.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/fitz/sysdep.h b/include/fitz/sysdep.h
index bb78521f..39221272 100644
--- a/include/fitz/sysdep.h
+++ b/include/fitz/sysdep.h
@@ -31,6 +31,12 @@ typedef signed long long fz_s64;
* Extras! Extras! Get them while they're hot!
*/
+#ifdef __WIN32__
+#define NEED_STRLCPY
+#define NEED_STRSEP
+#define NEED_GETOPT
+#endif
+
#ifdef NEED_STRLCPY
extern int strlcpy(char *dst, const char *src, int n);
extern int strlcat(char *dst, const char *src, int n);