Explorar o código

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

git-svn-id: trunk@37809 -
florian %!s(int64=7) %!d(string=hai) anos
pai
achega
82f452bb7c
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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;