Browse Source

fcl-json: fixed compile pas2js

mattias 3 năm trước cách đây
mục cha
commit
1b7aefc11d
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      packages/fcl-json/src/fpjson.pp

+ 2 - 0
packages/fcl-json/src/fpjson.pp

@@ -803,8 +803,10 @@ implementation
 
 Uses typinfo;
 
+{$IFNDEF Pas2js}
 const
   HexDigits: array[0..15] of char = '0123456789ABCDEF';
+{$ENDIF}
 
 Resourcestring
   SErrCannotConvertFromNull = 'Cannot convert data from Null value';