Mercurial > projects > ldc
comparison dmd/expression.c @ 536:0d2db7efa105
Add isnan for __APPLE__ and darwin version ident for OSX.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 24 Aug 2008 16:59:08 +0200 |
parents | f79bbd1d0b27 |
children | cbd6c8073a32 |
comparison
equal
deleted
inserted
replaced
535:f79bbd1d0b27 | 536:0d2db7efa105 |
---|---|
20 #endif | 20 #endif |
21 | 21 |
22 #if __MINGW32__ | 22 #if __MINGW32__ |
23 #ifndef isnan | 23 #ifndef isnan |
24 #define isnan _isnan | 24 #define isnan _isnan |
25 #endif | |
26 #endif | |
27 | |
28 #ifdef __APPLE__ | |
29 #ifndef isnan | |
30 int isnan(double); | |
25 #endif | 31 #endif |
26 #endif | 32 #endif |
27 | 33 |
28 #if IN_GCC | 34 #if IN_GCC |
29 // Issues with using -include total.h (defines integer_t) and then complex.h fails... | 35 // Issues with using -include total.h (defines integer_t) and then complex.h fails... |