Skip to content

Commit

Permalink
Fixed D11 support so it actually compiles!
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentparrett committed Jan 19, 2022
1 parent ec1ff69 commit c7fc567
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
2 changes: 1 addition & 1 deletion VSoft.WeakReference.dspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"metadata": {
"id": "VSoft.WeakReference",
"version": "0.1.2",
"version": "0.1.3",
"description": "Weak References",
"authors": "Vincent Parrett",
"projectUrl": "https://github.com/VSoftTechnologies/VSoft.WeakReference",
Expand Down
40 changes: 40 additions & 0 deletions src/VSoft.inc
Original file line number Diff line number Diff line change
Expand Up @@ -322,3 +322,43 @@
{$UNDEF DELPHI_XE102_DOWN}
{$UNDEF DELPHI_XE103_DOWN}
{$ENDIF VER340}

{$IFDEF VER350} // RAD Studio 11
{$DEFINE DELPHI_2010_UP}
{$DEFINE DELPHI_XE_UP}
{$DEFINE DELPHI_XE2_UP}
{$DEFINE DELPHI_XE3_UP}
{$DEFINE DELPHI_XE4_UP}
{$DEFINE DELPHI_XE5_UP}
{$DEFINE DELPHI_XE6_UP}
{$DEFINE DELPHI_XE7}
{$DEFINE DELPHI_XE7_UP}
{$DEFINE DELPHI_XE8_UP}
{$DEFINE DELPHIX_SEATTLE_UP}
{$DEFINE DELPHIX_SEATTLE}
{$DEFINE DELPHI_XE10_UP}
{$DEFINE DELPHI_XE101_UP}
{$DEFINE DELPHI_XE102_UP}
{$DEFINE DELPHI_XE103_UP}
{$DEFINE DELPHI_XE103}
{$DEFINE DELPHI_XE104}
{$DEFINE DELPHI_XE104_UP}
{$DEFINE DELPHI_11}
{$DEFINE DELPHI_11_UP}
{$DEFINE SUPPORTS_REGEX}
{$DEFINE USE_NS}
{$UNDEF DELPHI_2010_DOWN}
{$UNDEF DELPHI_XE_DOWN}
{$UNDEF DELPHI_XE2_DOWN}
{$UNDEF DELPHI_XE3_DOWN}
{$UNDEF DELPHI_XE4_DOWN}
{$UNDEF DELPHI_XE5_DOWN}
{$UNDEF DELPHI_XE6_DOWN}
{$UNDEF DELPHI_XE7_DOWN}
{$UNDEF DELPHI_XE8_DOWN}
{$UNDEF DELPHI_XE10_DOWN}
{$UNDEF DELPHI_XE101_DOWN}
{$UNDEF DELPHI_XE102_DOWN}
{$UNDEF DELPHI_XE103_DOWN}
{$ENDIF VER350}

0 comments on commit c7fc567

Please sign in to comment.