Skip to content

Commit 4cdd17c

Browse files
committed
fix dependencies and paths
1 parent 06de8cf commit 4cdd17c

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

entries/ghatem-fpc/src/OneBRCproj.lpi

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161
</Target>
6262
<SearchPaths>
6363
<IncludeFiles Value="$(ProjOutDir)"/>
64-
<OtherUnitFiles Value="C:\DelphiLibs\Mormot\mORMot2-master\src\core\"/>
6564
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
6665
</SearchPaths>
6766
<CodeGeneration>
@@ -88,6 +87,9 @@
8887
<FormatVersion Value="2"/>
8988
</RunParams>
9089
<RequiredPackages>
90+
<Item>
91+
<PackageName Value="mormot2"/>
92+
</Item>
9193
<Item>
9294
<PackageName Value="LCLBase"/>
9395
</Item>

entries/ghatem-fpc/src/onebrc.pas

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,8 @@ procedure TOneBRC.GenerateOutput;
258258
vStream.WriteString('}' + #10);
259259
{$IFDEF DEBUG}
260260
vStream.SaveToFile('ghatem-out.txt');
261-
{$ELSEIF defined(RELEASE)}
261+
{$ENDIF}
262+
{$IFDEF RELEASE}
262263
WriteLn (vStream.DataString);
263264
{$ENDIF}
264265
finally

0 commit comments

Comments
 (0)