# HG changeset patch # User unc0rr # Date 1336762459 -14400 # Node ID 800dcaf979bf4ba0556469303782a25b8668ccf8 # Parent 56596f3531d92fbe6e81664a29373ae9e06e20e2 Define NOCONSOLE for pas2c diff -r 56596f3531d9 -r 800dcaf979bf hedgewars/options.inc --- 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 diff -r 56596f3531d9 -r 800dcaf979bf tools/PascalPreprocessor.hs --- 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