mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Ignore the cmath-fix block on non-vs compilers.
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
#ifndef FL_DEFS_H
|
||||
#define FL_DEFS_H
|
||||
|
||||
#if _MSC_VER < 1800
|
||||
#if defined(_MSC_VER) && _MSC_VER < 1800
|
||||
#ifndef NAN
|
||||
static const unsigned long __nan[2] = {0xffffffff, 0x7fffffff};
|
||||
#define NAN (*(const float *) __nan)
|
||||
|
Reference in New Issue
Block a user