Browse Source

* Make it compile with 2.0 again.

git-svn-id: trunk@5716 -
daniel 18 years ago
parent
commit
9999f38b38
5 changed files with 30 additions and 0 deletions
  1. 6 0
      fv/app.pas
  2. 6 0
      fv/dialogs.pas
  3. 6 0
      fv/editors.pas
  4. 6 0
      fv/msgbox.pas
  5. 6 0
      fv/stddlg.pas

+ 6 - 0
fv/app.pas

@@ -27,6 +27,12 @@
 
 UNIT App;
 
+{2.0 compatibility}
+{$ifdef VER2_0}
+  {$macro on}
+  {$define resourcestring := const}
+{$endif}
+
 {<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>}
                                   INTERFACE
 {<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>}

+ 6 - 0
fv/dialogs.pas

@@ -29,6 +29,12 @@ UNIT Dialogs;
 
 {$CODEPAGE cp437}
 
+{2.0 compatibility}
+{$ifdef VER2_0}
+  {$macro on}
+  {$define resourcestring := const}
+{$endif}
+
 {<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>}
                                   INTERFACE
 {<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>}

+ 6 - 0
fv/editors.pas

@@ -15,6 +15,12 @@ unit Editors;
 
 {$define UNIXLF}
 
+{2.0 compatibility}
+{$ifdef VER2_0}
+  {$macro on}
+  {$define resourcestring := const}
+{$endif}
+
 interface
 
 uses

+ 6 - 0
fv/msgbox.pas

@@ -46,6 +46,12 @@
 
 UNIT MsgBox;
 
+{2.0 compatibility}
+{$ifdef VER2_0}
+  {$macro on}
+  {$define resourcestring := const}
+{$endif}
+
 {<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>}
                                   INTERFACE
 {<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>}

+ 6 - 0
fv/stddlg.pas

@@ -58,6 +58,12 @@ unit StdDlg;
   {$define HAS_DOS_DRIVES}
 {$endif}
 
+{2.0 compatibility}
+{$ifdef VER2_0}
+  {$macro on}
+  {$define resourcestring := const}
+{$endif}
+
 interface
 
 uses