Commit 91b89133 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

port.h: Added NAN macro.

parent 7c4c233d
......@@ -199,6 +199,15 @@ struct statvfs
#define M_PI_2 1.570796326794896619
#endif
#ifndef NAN
static float inline __port_nan(void)
{
static const unsigned __nan_bytes = 0x7fc00000;
return *(const float *)&__nan_bytes;
}
#define NAN __port_nan()
#endif
/****************************************************************
* Function definitions (only when using libwine_port)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment