Skip to content

Commit

Permalink
Compilable again in Delphi Pro
Browse files Browse the repository at this point in the history
  • Loading branch information
danieleteti committed Jan 30, 2025
1 parent 74cda52 commit 597faaa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 1 addition & 3 deletions packages/d120/dmvcframeworkRT.dpk
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ requires
loggerproRT,
FireDACPgDriver,
FireDACSqliteDriver,
SwagDoc,
FireDACCommonODBC,
FireDACMSSQLDriver;
SwagDoc;

contains
Web.HTTPDImpl,
Expand Down
2 changes: 0 additions & 2 deletions packages/d120/dmvcframeworkRT.dproj
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,6 @@
<DCCReference Include="FireDACPgDriver.dcp"/>
<DCCReference Include="FireDACSqliteDriver.dcp"/>
<DCCReference Include="SwagDoc.dcp"/>
<DCCReference Include="FireDACCommonODBC.dcp"/>
<DCCReference Include="FireDACMSSQLDriver.dcp"/>
<DCCReference Include="..\..\sources\MVCFramework.pas"/>
<DCCReference Include="..\..\sources\MVCFramework.AsyncTask.pas"/>
<DCCReference Include="..\..\sources\MVCFramework.Middleware.Swagger.pas"/>
Expand Down
6 changes: 5 additions & 1 deletion sources/MVCFramework.SQLGenerators.MSSQL.pas
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@
interface

uses
{
//do not include these 2 unit in this unit
//because it will not compiles in Delphi Pro
FireDAC.Phys.MSSQLDef,
FireDAC.Phys.MSSQL,
System.Rtti,
}
System.Generics.Collections,
MVCFramework.RQL.Parser,
MVCFramework.ActiveRecord,
Expand All @@ -48,6 +51,7 @@ TMVCSQLGeneratorMSSQL = class(TMVCSQLGenerator)
implementation

uses
System.Rtti,
System.SysUtils,
MVCFramework.RQL.AST2MSSQL;

Expand Down

0 comments on commit 597faaa

Please sign in to comment.