Solaris fixes

This commit is contained in:
antirez
2010-05-18 10:05:00 +02:00
parent aed57a31af
commit 9caf1a2043
2 changed files with 3 additions and 1 deletions

View File

@ -15,4 +15,6 @@
#define isinf(x) \
__extension__ ({ __typeof (x) __x_i = (x); \
__builtin_expect(!isnan(__x_i) && !isfinite(__x_i), 0); })
#define u_int uint
#endif /* __GNUC__ */