Skip to content

Commit e912f6d

Browse files
author
delphidabbler
committed
Updated PJMD5 unit to v1.1.1 of 11 Jan 2014
1 parent e815ebd commit e912f6d

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

Src/3rdParty/PJMD5.pas

Lines changed: 9 additions & 6 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) 2010-2013, Peter Johnson (www.delphidabbler.com).
6+
* Copyright (C) 2010-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
* This unit is a Delphi Pascal implementation of the MD5 Message-Digest
1212
* algorithm. See RFC1321 (http://www.faqs.org/rfcs/rfc1321.html).
@@ -31,12 +31,15 @@
3131
{$UNDEF CANCOMPILE}
3232
{$UNDEF RTLNAMESPACES}
3333
{$IFDEF CONDITIONALEXPRESSIONS}
34-
{$IF CompilerVersion >= 20.0} // Delphi 2009
35-
{$DEFINE CANCOMPILE}
34+
{$IF CompilerVersion >= 24.0} // Delphi XE3 and later
35+
{$LEGACYIFEND ON} // NOTE: this must come before all $IFEND directives
3636
{$IFEND}
37-
{$IF CompilerVersion >= 23.0} // Delphi XE2
37+
{$IF CompilerVersion >= 23.0} // Delphi XE2 and later
3838
{$DEFINE RTLNAMESPACES}
3939
{$IFEND}
40+
{$IF CompilerVersion >= 20.0} // Delphi 2009 and later
41+
{$DEFINE CANCOMPILE}
42+
{$IFEND}
4043
{$ENDIF}
4144
{$IFNDEF CANCOMPILE}
4245
{$MESSAGE FATAL 'Delphi 2009 or later required'}

0 commit comments

Comments
 (0)