changeset 2223 | 29d61b962cb0 |
parent 2186 | 461a2aff3486 |
child 2225 | e60b20805e4d |
--- a/stdafx.h Thu Jul 28 19:59:41 2005 +0000 +++ b/stdafx.h Thu Jul 28 21:47:41 2005 +0000 @@ -20,10 +20,16 @@ #endif #include <stdio.h> -#include <assert.h> #include <string.h> #include <stdlib.h> +// MacOS X will use an NSAlert to display failed assertaions since they're lost unless running from a terminal +#if !defined(__APPLE__) +#include <assert.h> +#else +#include "os/macosx/macos.h" +#endif + #if defined(UNIX) || defined(__MINGW32__) # include <sys/types.h> #endif