瀏覽代碼

sqliteds: fix compilation with 2.4 and 2.6 fpc compiler

git-svn-id: trunk@20194 -
blikblum 13 年之前
父節點
當前提交
0e675b5adc
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      packages/fcl-db/src/sqlite/customsqliteds.pas

+ 3 - 0
packages/fcl-db/src/sqlite/customsqliteds.pas

@@ -45,6 +45,9 @@ const
   DefaultStringSize = 255;
   DefaultStringSize = 255;
 
 
 type
 type
+  {$ifndef ver2_7}
+  TRecordBuffer = PAnsiChar;
+  {$endif}
   TCustomSqliteDataset = class;
   TCustomSqliteDataset = class;
 
 
   PDataRecord = ^DataRecord;
   PDataRecord = ^DataRecord;