Skip to content

Commit

Permalink
fixed: incorrect ID_SOAP_RTTI_ITI compiler directive
Browse files Browse the repository at this point in the history
ID_SOAP_RTTI_ITI must be named ID_SOAP_ITI_RTTI
  • Loading branch information
ashumkin committed Jan 22, 2015
1 parent aedf423 commit 5ede401
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source/IdSoapDefines.inc
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ have the same performance hit there)
=============================================================================}

{ The general define VER140ENTERPRISE has been replaced by 2 defines,
ID_SOAP_WEBBROKER and ID_SOAP_RTTI_ITI }
ID_SOAP_WEBBROKER and ID_SOAP_ITI_RTTI }

{.$.DEFINE ID_SOAP_WEBBROKER}

Expand Down
4 changes: 2 additions & 2 deletions source/IdSoapITIProvider.pas
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ implementation
IdSoapConsts,
IdSoapExceptions,
IdSoapITIBin,
{$IFDEF ID_SOAP_RTTI_ITI}
{$IFDEF ID_SOAP_ITI_RTTI}
IdSoapITIRtti,
{$ENDIF}
IdSoapResourceStrings,
Expand Down Expand Up @@ -425,7 +425,7 @@ procedure TIdSoapITIProvider.LoadITI(AITI: TIdSoapITI);
end
else
begin
{$IFDEF ID_SOAP_RTTI_ITI}
{$IFDEF ID_SOAP_ITI_RTTI}
PopulateITIFromRTTI(AITI, FRTTINames, FRTTINamesType = rntInclude);
{$ELSE}
raise eIDSoapBadITIStore.create('RTTI Interfaces are not supported under this compiler version');
Expand Down

0 comments on commit 5ede401

Please sign in to comment.