mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
Fixed a compiler error with MSVC.
Maybe caused by recent changes to `expression.c`.
This commit is contained in:
@@ -2528,12 +2528,7 @@ void realToMangleBuffer(OutBuffer *buf, real_t value)
|
||||
* 0X1.9P+2 => 19P2
|
||||
*/
|
||||
|
||||
// if (Port::isNan(value))
|
||||
#if __APPLE__
|
||||
if (__inline_isnan(value))
|
||||
#else
|
||||
if (isnan(value))
|
||||
#endif
|
||||
if (Port::isNan(value))
|
||||
buf->writestring("NAN"); // no -NAN bugs
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user