From 30a5f299f8a54ca8dffeb31c41de0b474ecc7aed Mon Sep 17 00:00:00 2001 From: bjarni Date: Fri, 29 Jul 2005 09:45:25 +0000 Subject: (svn r2745) -Fix: [OSX] removed the assert window introduced in 2741 from strgen - it appeared to cause problems and strgen don't need a GUI - renamed ottd to openttd in the app menu (Tobin) --- stdafx.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'stdafx.h') diff --git a/stdafx.h b/stdafx.h index da8f1e88b..b085d18f8 100644 --- a/stdafx.h +++ b/stdafx.h @@ -24,7 +24,8 @@ #include // 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 #else #include "os/macosx/macos.h" -- cgit v1.2.3-70-g09d2