Browse Source

* corrected check for f_variants, introduced in r37660 (it was incorrectly
checking for f_threading instead)

git-svn-id: trunk@37668 -

nickysn 7 years ago
parent
commit
ef6cc202cd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/psystem.pas

+ 1 - 1
compiler/psystem.pas

@@ -687,7 +687,7 @@ implementation
             loadtype('vtblarray',vmtarraytype);
             loadtype('vtblarray',vmtarraytype);
             loadtype('__vtbl_ptr_type',vmttype);
             loadtype('__vtbl_ptr_type',vmttype);
           end;
           end;
-        if f_threading in features then
+        if f_variants in features then
           begin
           begin
             loadtype('variant',cvarianttype);
             loadtype('variant',cvarianttype);
             loadtype('olevariant',colevarianttype);
             loadtype('olevariant',colevarianttype);