浏览代码

* Better detection of ansichar

Michaël Van Canneyt 2 年之前
父节点
当前提交
11e3b12354
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;