add & to correcting bug in MACRO

This commit is contained in:
h_vogt 2011-07-03 20:08:48 +00:00
parent e0ee07b491
commit d5e5c31345
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@
/* NAN not available in MS VS 2008 */
#ifndef NAN
static const __int64 global_nan = 0x7ff8000000000000i64;
#define NAN (*(const double *) global_nan)
#define NAN (*(const double *) &global_nan)
#endif
#endif