Mercurial > projects > ldc
diff 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 |
line wrap: on
line diff
--- a/dmd/expression.c Sun Aug 24 16:54:06 2008 +0200 +++ b/dmd/expression.c Sun Aug 24 16:59:08 2008 +0200 @@ -25,6 +25,12 @@ #endif #endif +#ifdef __APPLE__ +#ifndef isnan +int isnan(double); +#endif +#endif + #if IN_GCC // Issues with using -include total.h (defines integer_t) and then complex.h fails... #undef integer_t