stdafx.h
changeset 2225 e60b20805e4d
parent 2223 29d61b962cb0
child 2436 177cb6a8339f
--- a/stdafx.h	Fri Jul 29 06:20:28 2005 +0000
+++ b/stdafx.h	Fri Jul 29 09:45:25 2005 +0000
@@ -24,7 +24,8 @@
 #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__)
+// strgen always runs from terminal and don't need a window for asserts
+#if !defined(__APPLE__) || defined(STRGEN)
 #include <assert.h>
 #else
 #include "os/macosx/macos.h"