Fix for solaris compilation bug Issue 325

This commit is contained in:
antirez
2010-09-06 10:12:44 +02:00
parent 556bdfbab9
commit abe18d0e00
19 changed files with 199 additions and 76 deletions

View File

@ -1,6 +1,7 @@
/* Solaris specific fixes */
#if defined(__GNUC__)
#include <math.h>
#undef isnan
#define isnan(x) \
__extension__({ __typeof (x) __x_a = (x); \