summaryrefslogtreecommitdiff
path: root/plugins/Utils.pas/compilers.inc
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Utils.pas/compilers.inc')
-rw-r--r--plugins/Utils.pas/compilers.inc13
1 files changed, 13 insertions, 0 deletions
diff --git a/plugins/Utils.pas/compilers.inc b/plugins/Utils.pas/compilers.inc
index b3280f17d7..042991394d 100644
--- a/plugins/Utils.pas/compilers.inc
+++ b/plugins/Utils.pas/compilers.inc
@@ -944,3 +944,16 @@
{$DEFINE AllowInline}
{$ENDIF}
{$ENDIF}
+
+(*
+{$IFDEF FPC}
+ {$DEFINE AllowInline}
+{$ELSE}
+ {$IFDEF ConditionalExpressions}
+ // CompilerVersion defined in SYSTEM module, need to use not earlier
+ {$IF CompilerVersion >= 22}
+ {$DEFINE AllowInline}
+ {$IFEND}
+ {$ENDIF}
+{$ENDIF}
+*) \ No newline at end of file