summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhajny <hajny@3ad0048d-3df7-0310-abae-a5850022a9f2>2014-11-21 13:52:10 +0000
committerhajny <hajny@3ad0048d-3df7-0310-abae-a5850022a9f2>2014-11-21 13:52:10 +0000
commit650353e03005822739e58dce9009a481e71a0827 (patch)
treef2065f6688faaef863d414d02663cfd83de22b57
parent54a2c625b1203d03047fb6063c10b066ec403bd4 (diff)
downloadfpc-650353e03005822739e58dce9009a481e71a0827.tar.gz
* option -m made conditional (-dPREPROCWRITE) like its processing
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29098 3ad0048d-3df7-0310-abae-a5850022a9f2
-rw-r--r--compiler/globals.pas2
-rw-r--r--compiler/options.pas2
2 files changed, 4 insertions, 0 deletions
diff --git a/compiler/globals.pas b/compiler/globals.pas
index af28bcc9af..1d018a8f7f 100644
--- a/compiler/globals.pas
+++ b/compiler/globals.pas
@@ -237,7 +237,9 @@ interface
paralinkoptions : TCmdStr;
paradynamiclinker : string;
paraprintnodetree : byte;
+{$ifdef PREPROCWRITE}
parapreprocess : boolean;
+{$endif PREPROCWRITE}
printnodefile : text;
{ typical cross compiling params}
diff --git a/compiler/options.pas b/compiler/options.pas
index 1a19b3a256..8cc3faba33 100644
--- a/compiler/options.pas
+++ b/compiler/options.pas
@@ -1642,8 +1642,10 @@ begin
'l' :
ParaLogo:=not UnSetBool(more,0,opt,true);
+{$ifdef PREPROCWRITE}
'm' :
parapreprocess:=not UnSetBool(more,0,opt,true);
+{$endif PREPROCWRITE}
'M' :
begin