diff --git a/stdafx.h b/stdafx.h --- a/stdafx.h +++ b/stdafx.h @@ -20,10 +20,16 @@ #endif #include -#include #include #include +// MacOS X will use an NSAlert to display failed assertaions since they're lost unless running from a terminal +#if !defined(__APPLE__) +#include +#else +#include "os/macosx/macos.h" +#endif + #if defined(UNIX) || defined(__MINGW32__) # include #endif