mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 07:58:07 +02:00
replaced IFDEF win32 with IF defined(VER2_0_2) and defined(WIN32)
git-svn-id: trunk@8759 -
This commit is contained in:
parent
a4695eadcf
commit
994cebd433
@ -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}
|
||||
|
||||
|
@ -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}
|
||||
|
||||
|
@ -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}
|
||||
|
||||
|
@ -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}
|
||||
|
||||
|
@ -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}
|
||||
|
||||
|
@ -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}
|
||||
|
||||
|
@ -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}
|
||||
|
||||
|
@ -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}
|
||||
|
||||
|
@ -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}
|
||||
|
||||
|
@ -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}
|
||||
|
||||
|
@ -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}
|
||||
|
||||
|
@ -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}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user