diff options
-rw-r--r-- | source/fitz/ftoa.c | 3 | ||||
-rw-r--r-- | source/fitz/strtod.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/source/fitz/ftoa.c b/source/fitz/ftoa.c index dc3ce73b..47759425 100644 --- a/source/fitz/ftoa.c +++ b/source/fitz/ftoa.c @@ -27,7 +27,10 @@ #define NAN (INFINITY-INFINITY) #endif +#ifndef DEFINED_ULONG +#define DEFINED_ULONG typedef unsigned long ulong; +#endif enum { NSIGNIF = 9 }; diff --git a/source/fitz/strtod.c b/source/fitz/strtod.c index f548b6f3..7ab30fb2 100644 --- a/source/fitz/strtod.c +++ b/source/fitz/strtod.c @@ -27,7 +27,10 @@ #define NAN (INFINITY-INFINITY) #endif +#ifndef DEFINED_ULONG +#define DEFINED_ULONG typedef unsigned long ulong; +#endif static ulong umuldiv(ulong a, ulong b, ulong c) |