Define NOCONSOLE for pas2c
authorunc0rr
Fri, 11 May 2012 22:54:19 +0400
changeset 7059 800dcaf979bf
parent 7058 56596f3531d9
child 7060 861d6897917f
Define NOCONSOLE for pas2c
hedgewars/options.inc
tools/PascalPreprocessor.hs
--- a/hedgewars/options.inc	Fri May 11 22:50:52 2012 +0400
+++ b/hedgewars/options.inc	Fri May 11 22:54:19 2012 +0400
@@ -70,3 +70,8 @@
 {$ENDIF}
 
 {$DEFINE USE_LUA_SCRIPT}
+
+{$IFDEF PAS2C}
+    {$DEFINE NOCONSOLE}
+    {$DEFINE USE_SDLTHREADS}
+{$ENDIF}
\ No newline at end of file
--- a/tools/PascalPreprocessor.hs	Fri May 11 22:50:52 2012 +0400
+++ b/tools/PascalPreprocessor.hs	Fri May 11 22:54:19 2012 +0400
@@ -18,7 +18,6 @@
 initDefines = Map.fromList [
     ("FPC", "")
     , ("PAS2C", "")
-    , ("USE_SDLTHREADS", "")
     ]
         
 preprocess :: String -> IO String