Browse Source

sqliteds: better approach to fix compilation with 2.4 and 2.6 fpc compiler

git-svn-id: trunk@20195 -
blikblum 13 years ago
parent
commit
903bb71e14
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fcl-db/src/sqlite/customsqliteds.pas

+ 1 - 1
packages/fcl-db/src/sqlite/customsqliteds.pas

@@ -45,7 +45,7 @@ const
   DefaultStringSize = 255;
 
 type
-  {$ifndef ver2_7}
+  {$if defined(ver2_6_0) or defined(ver2_4)}
   TRecordBuffer = PAnsiChar;
   {$endif}
   TCustomSqliteDataset = class;