replaced IFDEF win32 with IF defined(VER2_0_2) and defined(WIN32)

git-svn-id: trunk@8759 -
This commit is contained in:
mattias 2006-02-17 14:07:21 +00:00
parent a4695eadcf
commit 994cebd433
12 changed files with 12 additions and 12 deletions

View File

@ -25,9 +25,9 @@ unit AsyncProcess;
{$mode objfpc}{$H+}
{$IF defined(VER2_0_2) and defined(win32)}
// FPC <= 2.0.2 compatibility code
// WINDOWS define was added after FPC 2.0.2
{$ifdef win32}
{$define WINDOWS}
{$endif}

View File

@ -30,9 +30,9 @@ unit Calendar;
{$mode objfpc}{$H+}
{$IF defined(VER2_0_2) and defined(win32)}
// FPC <= 2.0.2 compatibility code
// WINDOWS define was added after FPC 2.0.2
{$ifdef win32}
{$define WINDOWS}
{$endif}

View File

@ -35,9 +35,9 @@ unit DBGrids;
{$mode objfpc}{$H+}
{$define EnableIsSeq}
{$IF defined(VER2_0_2) and defined(win32)}
// FPC <= 2.0.2 compatibility code
// WINDOWS define was added after FPC 2.0.2
{$ifdef win32}
{$define WINDOWS}
{$endif}

View File

@ -32,9 +32,9 @@ localization found.
}
{$mode objfpc}{$H+}
{$IF defined(VER2_0_2) and defined(win32)}
// FPC <= 2.0.2 compatibility code
// WINDOWS define was added after FPC 2.0.2
{$ifdef win32}
{$define WINDOWS}
{$endif}

View File

@ -24,9 +24,9 @@ unit DirSel;
{$mode objfpc}{$H+}
{$IF defined(VER2_0_2) and defined(win32)}
// FPC <= 2.0.2 compatibility code
// WINDOWS define was added after FPC 2.0.2
{$ifdef win32}
{$define WINDOWS}
{$endif}

View File

@ -23,9 +23,9 @@ unit FileUtil;
{$mode objfpc}{$H+}
{$IF defined(VER2_0_2) and defined(win32)}
// FPC <= 2.0.2 compatibility code
// WINDOWS define was added after FPC 2.0.2
{$ifdef win32}
{$define WINDOWS}
{$endif}

View File

@ -36,9 +36,9 @@ The log was moved to end of file, search for: The_Log
{$define UseClipRect}
{$define LooseCount}
{$IF defined(VER2_0_2) and defined(win32)}
// FPC <= 2.0.2 compatibility code
// WINDOWS define was added after FPC 2.0.2
{$ifdef win32}
{$define WINDOWS}
{$endif}

View File

@ -39,9 +39,9 @@ unit LCLIntf;
{$mode objfpc}{$H+}
{$inline on}
{$IF defined(VER2_0_2) and defined(win32)}
// FPC <= 2.0.2 compatibility code
// WINDOWS define was added after FPC 2.0.2
{$ifdef win32}
{$define WINDOWS}
{$endif}

View File

@ -27,9 +27,9 @@ unit LCLProc;
{$mode objfpc}{$H+}
{$inline on}
{$IF defined(VER2_0_2) and defined(win32)}
// FPC <= 2.0.2 compatibility code
// WINDOWS define was added after FPC 2.0.2
{$ifdef win32}
{$define WINDOWS}
{$endif}

View File

@ -38,9 +38,9 @@ unit LCLType;
{$mode objfpc}{$H+}
{$IF defined(VER2_0_2) and defined(win32)}
// FPC <= 2.0.2 compatibility code
// WINDOWS define was added after FPC 2.0.2
{$ifdef win32}
{$define WINDOWS}
{$endif}

View File

@ -27,9 +27,9 @@ unit LMessages;
{$mode objfpc}{$H+}
{$IF defined(VER2_0_2) and defined(win32)}
// FPC <= 2.0.2 compatibility code
// WINDOWS define was added after FPC 2.0.2
{$ifdef win32}
{$define WINDOWS}
{$endif}

View File

@ -41,9 +41,9 @@ unit Translations;
{$mode objfpc}{$H+}{$INLINE ON}
{$IF defined(VER2_0_2) and defined(win32)}
// FPC <= 2.0.2 compatibility code
// WINDOWS define was added after FPC 2.0.2
{$ifdef win32}
{$define WINDOWS}
{$endif}