mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 02:33:33 +00:00
Patch to support MSVC, contributed by Morten Ofstad
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17219 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
13a166525c
commit
67b6e4e939
@ -19,6 +19,9 @@
|
||||
#elif HAVE_STD_ISNAN_IN_CMATH
|
||||
# include <cmath>
|
||||
using std::isnan;
|
||||
#elif defined(_MSC_VER)
|
||||
#include <float.h>
|
||||
#define isnan _isnan
|
||||
#else
|
||||
# error "Don't know how to get isnan()"
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user