examples: cleandirs: compile with 2.6.2

git-svn-id: trunk@42807 -
This commit is contained in:
mattias 2013-09-15 12:52:57 +00:00
parent 32f7affb2b
commit 726def1b66
2 changed files with 16 additions and 9 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?>
<?xml version="1.0" encoding="UTF-8"?>
<CONFIG>
<ProjectOptions>
<Version Value="7"/>
<Version Value="9"/>
<General>
<Flags>
<MainUnitHasCreateFormStatements Value="False"/>
@ -10,12 +10,14 @@
<SessionStorage Value="InProjectDir"/>
<MainUnit Value="0"/>
<AutoCreateForms Value="False"/>
<TargetFileExt Value=""/>
<Title Value="Directory Cleaning service"/>
</General>
<VersionInfo>
<ProjectVersion Value=""/>
<StringTable ProductVersion=""/>
</VersionInfo>
<BuildModes Count="1">
<Item1 Name="default" Default="True"/>
</BuildModes>
<PublishOptions>
<Version Value="2"/>
<IncludeFileFilter Value="*.(pas|pp|inc|lfm|lpr|lrs|lpi|lpk|sh|xml)"/>
@ -46,8 +48,8 @@
</Unit0>
<Unit1>
<Filename Value="svccleandirs.pp"/>
<ComponentName Value="CleanDirsDaemon"/>
<IsPartOfProject Value="True"/>
<ComponentName Value="CleanDirsDaemon"/>
<UnitName Value="svccleandirs"/>
</Unit1>
<Unit2>
@ -57,14 +59,19 @@
</Unit2>
<Unit3>
<Filename Value="svcmap.pp"/>
<HasResources Value="True"/>
<IsPartOfProject Value="True"/>
<HasResources Value="True"/>
<UnitName Value="svcmap"/>
</Unit3>
</Units>
</ProjectOptions>
<CompilerOptions>
<Version Value="8"/>
<Version Value="11"/>
<Parsing>
<SyntaxOptions>
<UseAnsiStrings Value="False"/>
</SyntaxOptions>
</Parsing>
<Other>
<CustomOptions Value="-dUseCThreads"/>
<CompilerPath Value="$(CompPath)"/>

View File

@ -24,8 +24,8 @@ Uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
{$IF FPC_FULLVERSION<20701}
{$ERROR this example requires at least fpc 2.7.1}
{$IF FPC_FULLVERSION<20602}
{$ERROR this example requires at least fpc 2.6.2}
{$ENDIF}
daemonapp,
sysutils