Sfoglia il codice sorgente

* Better detection of ansichar

Michaël Van Canneyt 2 anni fa
parent
commit
11e3b12354
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      rtl/java/jsystemh_types.inc

+ 1 - 1
rtl/java/jsystemh_types.inc

@@ -384,7 +384,7 @@ Type
   UInt32  = Cardinal;
   UIntPtr = PtrUInt;
 
-{$IFDEF FPC_HAS_ANSICHAR_CHAR}
+{$IF DECLARED(AnsiChar)}
 // Compiler defines AnsiChar and WideChar, not AnsiChar
 {$IFDEF UNICODERTL}
   Char = WideChar;