Skip to content

Commit 271c58b

Browse files
committed
Compatibility with Dephi 10.4.3 Sydney
1 parent 7a5894c commit 271c58b

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

Packages/drio/awscore.dproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@
8585
<GenDll>true</GenDll>
8686
<GenPackage>true</GenPackage>
8787
<DCC_Namespace>System;Xml;Data;Datasnap;Web;Soap;$(DCC_Namespace)</DCC_Namespace>
88-
<DCC_CBuilderOutput>All</DCC_CBuilderOutput>
8988
<SanitizedProjectName>awscore</SanitizedProjectName>
9089
<DCC_Description>Amazon Web Services SDK - Core Package</DCC_Description>
9190
<DCC_OutputNeverBuildDcps>true</DCC_OutputNeverBuildDcps>

Source/Core/AWS.Auth.S3Signer.pas

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ interface
44

55
uses
66
System.SysUtils, System.Generics.Collections, System.Generics.Defaults,
7+
AWS.Lib.Collections,
78
AWS.Auth.Signer,
89
AWS.Enums,
910
AWS.Internal.Request,

Source/Core/AWS.SDKUtils.pas

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,9 +621,10 @@ class function TAWSSDKUtils.ExecuteHttpRequest(const AUri, ARequestType, AConten
621621
if ATimeoutMS > 0 then
622622
begin
623623
Client.ConnectionTimeout := ATimeoutMS;
624-
Client.SendTimeout := ATimeoutMS;
625624
Client.ResponseTimeout := ATimeoutMS;
625+
{$IFDEF DELPHISYDNEY_LVL}
626626
Client.SendTimeout := ATimeoutMS;
627+
{$ENDIF}
627628
end;
628629
Request.SetHeaderValue(THeaderKeys.UserAgentHeader, FUserAgent);
629630
for HeaderInfo in AHeaders.AllHeaders do

Source/Core/AWS.inc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,14 @@
5454
{$DEFINE DELPHITOKYO_LVL}
5555
{$IFEND}
5656

57+
{$IF CompilerVersion >= 33}
58+
{$DEFINE DELPHIRIO_LVL}
59+
{$IFEND}
60+
61+
{$IF CompilerVersion >= 34}
62+
{$DEFINE DELPHISYDNEY_LVL}
63+
{$IFEND}
64+
5765
{$IF CompilerVersion >= 35}
5866
{$DEFINE DELPHI11_LVL}
5967
{$IFEND}

0 commit comments

Comments
 (0)