diff options
Diffstat (limited to 'prism/defines.h')
-rw-r--r-- | prism/defines.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/prism/defines.h b/prism/defines.h index e78c7dd75c..785361728e 100644 --- a/prism/defines.h +++ b/prism/defines.h @@ -137,17 +137,6 @@ #endif /** - * isinf on Windows is defined as accepting a float, but on POSIX systems it - * accepts a float, a double, or a long double. We want to mirror this behavior - * on windows. - */ -#ifdef _WIN32 -# include <float.h> -# undef isinf -# define isinf(x) (sizeof(x) == sizeof(float) ? !_finitef(x) : !_finite(x)) -#endif - -/** * If you build prism with a custom allocator, configure it with * "-D PRISM_XALLOCATOR" to use your own allocator that defines xmalloc, * xrealloc, xcalloc, and xfree. |