| Index: third_party/libxslt/libxslt/win32config.h
|
| diff --git a/third_party/libxslt/libxslt/win32config.h b/third_party/libxslt/libxslt/win32config.h
|
| index 00ba2a0ed428894d922525a3ce09c05eb9035a77..33bc57002ba7ae322b4f07fd65e59bebfa2086b0 100644
|
| --- a/third_party/libxslt/libxslt/win32config.h
|
| +++ b/third_party/libxslt/libxslt/win32config.h
|
| @@ -28,12 +28,12 @@
|
| #include <math.h>
|
| #if defined _MSC_VER || defined __MINGW32__
|
| /* MS C-runtime has functions which can be used in order to determine if
|
| - a given floating-point variable contains NaN, (+-)INF. These are
|
| + a given floating-point variable contains NaN, (+-)INF. These are
|
| preferred, because floating-point technology is considered propriatary
|
| - by MS and we can assume that their functions know more about their
|
| + by MS and we can assume that their functions know more about their
|
| oddities than we do. */
|
| #include <float.h>
|
| -/* Bjorn Reese figured a quite nice construct for isinf() using the
|
| +/* Bjorn Reese figured a quite nice construct for isinf() using the
|
| _fpclass() function. */
|
| #ifndef isinf
|
| #define isinf(d) ((_fpclass(d) == _FPCLASS_PINF) ? 1 \
|
| @@ -78,8 +78,9 @@ static int isnan (double d) {
|
|
|
| #include <direct.h>
|
| #if defined(_MSC_VER) || defined(__MINGW32__)
|
| -#define mkdir(p,m) _mkdir(p)
|
| +#if _MSC_VER < 1900
|
| #define snprintf _snprintf
|
| +#endif
|
| #if _MSC_VER < 1500
|
| #define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a)
|
| #endif
|
|
|