summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2016-02-03 14:52:43 +0000
committerRobin Watts <robin.watts@artifex.com>2016-02-03 16:34:24 +0000
commit36e57486f01fc026fd1e8886b32f91e385befedc (patch)
tree43c2cf9f99e70539aea65c7b889427fd84a4270e /platform
parentd9c24f4fea589ab65a6046769c0642206557e60d (diff)
downloadmupdf-36e57486f01fc026fd1e8886b32f91e385befedc.tar.xz
Bug 696546: Add fast strtof
Take on a (slightly tweaked) version of Simon Reinhardt's patch. The actual logic is left entirely unchanged; minor changes have been made to the names of functions/types to avoid clashing in the cmapdump.c repeated inclusion. Currently this should really only affect xps files, as strtof is only used as fz_atof, and that's (effectively) all xps for now. I will look at updating lex_number to call this in future.
Diffstat (limited to 'platform')
-rw-r--r--platform/win32/libmupdf.vcproj4
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/win32/libmupdf.vcproj b/platform/win32/libmupdf.vcproj
index 5de9c62b..74a805df 100644
--- a/platform/win32/libmupdf.vcproj
+++ b/platform/win32/libmupdf.vcproj
@@ -1035,6 +1035,10 @@
>
</File>
<File
+ RelativePath="..\..\source\fitz\strtof.c"
+ >
+ </File>
+ <File
RelativePath="..\..\source\fitz\svg-device.c"
>
</File>