| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Summary: Windows configuration header | 2 * Summary: Windows configuration header |
| 3 * Description: Windows configuration header | 3 * Description: Windows configuration header |
| 4 * | 4 * |
| 5 * Copy: See Copyright for the status of this software. | 5 * Copy: See Copyright for the status of this software. |
| 6 * | 6 * |
| 7 * Author: Igor Zlatkovic | 7 * Author: Igor Zlatkovic |
| 8 */ | 8 */ |
| 9 #ifndef __LIBXSLT_WIN32_CONFIG__ | 9 #ifndef __LIBXSLT_WIN32_CONFIG__ |
| 10 #define __LIBXSLT_WIN32_CONFIG__ | 10 #define __LIBXSLT_WIN32_CONFIG__ |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 #define HAVE_FCNTL_H 1 | 21 #define HAVE_FCNTL_H 1 |
| 22 | 22 |
| 23 #include <io.h> | 23 #include <io.h> |
| 24 | 24 |
| 25 #define HAVE_ISINF | 25 #define HAVE_ISINF |
| 26 #define HAVE_ISNAN | 26 #define HAVE_ISNAN |
| 27 | 27 |
| 28 #include <math.h> | 28 #include <math.h> |
| 29 #if defined _MSC_VER || defined __MINGW32__ | 29 #if defined _MSC_VER || defined __MINGW32__ |
| 30 /* MS C-runtime has functions which can be used in order to determine if | 30 /* MS C-runtime has functions which can be used in order to determine if |
| 31 a given floating-point variable contains NaN, (+-)INF. These are | 31 a given floating-point variable contains NaN, (+-)INF. These are |
| 32 preferred, because floating-point technology is considered propriatary | 32 preferred, because floating-point technology is considered propriatary |
| 33 by MS and we can assume that their functions know more about their | 33 by MS and we can assume that their functions know more about their |
| 34 oddities than we do. */ | 34 oddities than we do. */ |
| 35 #include <float.h> | 35 #include <float.h> |
| 36 /* Bjorn Reese figured a quite nice construct for isinf() using the | 36 /* Bjorn Reese figured a quite nice construct for isinf() using the |
| 37 _fpclass() function. */ | 37 _fpclass() function. */ |
| 38 #ifndef isinf | 38 #ifndef isinf |
| 39 #define isinf(d) ((_fpclass(d) == _FPCLASS_PINF) ? 1 \ | 39 #define isinf(d) ((_fpclass(d) == _FPCLASS_PINF) ? 1 \ |
| 40 : ((_fpclass(d) == _FPCLASS_NINF) ? -1 : 0)) | 40 : ((_fpclass(d) == _FPCLASS_NINF) ? -1 : 0)) |
| 41 #endif | 41 #endif |
| 42 /* _isnan(x) returns nonzero if (x == NaN) and zero otherwise. */ | 42 /* _isnan(x) returns nonzero if (x == NaN) and zero otherwise. */ |
| 43 #ifndef isnan | 43 #ifndef isnan |
| 44 #define isnan(d) (_isnan(d)) | 44 #define isnan(d) (_isnan(d)) |
| 45 #endif | 45 #endif |
| 46 #else /* _MSC_VER */ | 46 #else /* _MSC_VER */ |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 #include <libxml/xmlversion.h> | 92 #include <libxml/xmlversion.h> |
| 93 | 93 |
| 94 #ifndef ATTRIBUTE_UNUSED | 94 #ifndef ATTRIBUTE_UNUSED |
| 95 #define ATTRIBUTE_UNUSED | 95 #define ATTRIBUTE_UNUSED |
| 96 #endif | 96 #endif |
| 97 | 97 |
| 98 #define _WINSOCKAPI_ | 98 #define _WINSOCKAPI_ |
| 99 | 99 |
| 100 #endif /* __LIBXSLT_WIN32_CONFIG__ */ | 100 #endif /* __LIBXSLT_WIN32_CONFIG__ */ |
| 101 | 101 |
| OLD | NEW |