Added missing header file for _finite
This commit is contained in:
parent
4e382c285f
commit
59d23174c0
Notes:
git
2024-12-03 00:53:36 +00:00
@ -136,6 +136,14 @@
|
|||||||
# define PRISM_HAS_FILESYSTEM
|
# define PRISM_HAS_FILESYSTEM
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* isinf on POSIX systems it accepts a float, a double, or a long double.
|
||||||
|
* But Windows didn't provide isinf, so we need to use _finite instead.
|
||||||
|
*/
|
||||||
|
#ifdef _WIN32
|
||||||
|
# include <float.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If you build prism with a custom allocator, configure it with
|
* If you build prism with a custom allocator, configure it with
|
||||||
* "-D PRISM_XALLOCATOR" to use your own allocator that defines xmalloc,
|
* "-D PRISM_XALLOCATOR" to use your own allocator that defines xmalloc,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user