Skip to content

Commit cb5a437

Browse files
author
delphidabbler
committed
Update PJVersionInfo unit to v3.3.2 of 11 Jan 2014
1 parent c2b76b4 commit cb5a437

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

Src/3rdParty/PJVersionInfo.pas

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
44
* obtain one at http://mozilla.org/MPL/2.0/
55
*
6-
* Copyright (C) 1998-2013, Peter Johnson (www.delphidabbler.com).
6+
* Copyright (C) 1998-2014, Peter Johnson (www.delphidabbler.com).
77
*
8-
* $Rev$
9-
* $Date$
8+
* $Rev: 1515 $
9+
* $Date: 2014-01-11 02:36:28 +0000 (Sat, 11 Jan 2014) $
1010
*
1111
* Version Information Component. The component reads version information from
1212
* executable files.
@@ -35,14 +35,17 @@
3535
{$ENDIF}
3636
// Switch off unsafe code warnings if switch supported
3737
{$IFDEF CONDITIONALEXPRESSIONS}
38-
{$IF CompilerVersion >= 15.0} // >= Delphi 7
39-
{$WARN UNSAFE_CODE OFF}
38+
{$IF CompilerVersion >= 24.0} // Delphi XE3 and later
39+
{$LEGACYIFEND ON} // NOTE: this must come before all $IFEND directives
40+
{$IFEND}
41+
{$IF CompilerVersion >= 23.0} // Delphi XE2 and later
42+
{$DEFINE Supports_RTLNameSpaces}
4043
{$IFEND}
41-
{$IF CompilerVersion >= 18.0} // >= Delphi 2006
44+
{$IF CompilerVersion >= 18.0} // Delphi 2006 and later
4245
{$DEFINE Supports_AdvancedRecords}
4346
{$IFEND}
44-
{$IF CompilerVersion >= 23.0} // Delphi XE2
45-
{$DEFINE Supports_RTLNameSpaces}
47+
{$IF CompilerVersion >= 15.0} // Delphi 7 and later
48+
{$WARN UNSAFE_CODE OFF}
4649
{$IFEND}
4750
{$ENDIF}
4851

0 commit comments

Comments
 (0)