From d93f4d8433c0cc1f40533663a0d2ec509f973dbc Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Fri, 10 Jun 2016 15:24:29 +0100 Subject: Fix VS2012 builds. Slight tweak to the #ifdeffery required. --- include/mupdf/fitz/system.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mupdf/fitz/system.h b/include/mupdf/fitz/system.h index 72d17c83..a82d503f 100644 --- a/include/mupdf/fitz/system.h +++ b/include/mupdf/fitz/system.h @@ -144,7 +144,7 @@ static int msvc_snprintf(char *str, size_t size, const char *fmt, ...) } #endif -#if _MSC_VER < 1700 /* MSVC 2012 */ +#if _MSC_VER <= 1700 /* MSVC 2012 */ #define isnan(x) _isnan(x) #define isinf(x) (!_finite(x)) #endif -- cgit v1.2.3