Generated dpr should not refers to conditionals defined by dmvc itself.

This commit is contained in:
Daniele Teti 2024-04-12 12:37:43 +02:00
parent 0d7a890e87
commit 8a7533f252

View File

@ -828,7 +828,7 @@ begin
.AppendLine
.AppendLine(' WebRequestHandlerProc.MaxConnections := dotEnv.Env(''dmvc.handler.max_connections'', 1024);')
.AppendLine
.AppendLine('{$IF Defined(SYDNEYORBETTER)}')
.AppendLine('{$IF CompilerVersion >= 34} //SYDNEY+')
.AppendLine(' if dotEnv.Env(''dmvc.profiler.enabled'', false) then')
.AppendLine(' begin')
.AppendLine(' Profiler.ProfileLogger := Log;')