Skip to content

Commit

Permalink
Generated dpr should not refers to conditionals defined by dmvc itself.
Browse files Browse the repository at this point in the history
  • Loading branch information
danieleteti committed Apr 12, 2024
1 parent 0d7a890 commit 8a7533f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ideexpert/DMVC.Expert.CodeGen.Commands.pas
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ procedure TUnitMainBeginEndCommand.ExecuteImplementation(Section: TStringBuilder
.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;')
Expand Down

0 comments on commit 8a7533f

Please sign in to comment.