Parcourir la source

* declare pointers to variants only if the variant feature is available

git-svn-id: trunk@37809 -
florian il y a 7 ans
Parent
commit
82f452bb7c
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      rtl/java/jsystemh_types.inc

+ 2 - 0
rtl/java/jsystemh_types.inc

@@ -486,8 +486,10 @@ Type
   PDateTime           = ^TDateTime;
 {$endif}
   PError              = ^TError;
+{$ifdef FPC_HAS_FEATURE_VARIANTS}
   PVariant            = ^Variant;
   POleVariant         = ^OleVariant;
+{$endif FPC_HAS_FEATURE_VARIANTS}
 
   PWideChar           = ^WideChar;
   PPWideChar          = ^PWideChar;