From 36e57486f01fc026fd1e8886b32f91e385befedc Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Wed, 3 Feb 2016 14:52:43 +0000 Subject: 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. --- scripts/cmapdump.c | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/cmapdump.c') diff --git a/scripts/cmapdump.c b/scripts/cmapdump.c index 6b77d8c9..06d8cbee 100644 --- a/scripts/cmapdump.c +++ b/scripts/cmapdump.c @@ -19,6 +19,7 @@ #include "../source/fitz/stream-open.c" #include "../source/fitz/stream-read.c" #include "../source/fitz/strtod.c" +#include "../source/fitz/strtof.c" #include "../source/fitz/ftoa.c" #include "../source/fitz/printf.c" #ifdef _WIN32 -- cgit v1.2.3