From 462b02e2de1f7df0f349119ea4b22c7aee0c176b Mon Sep 17 00:00:00 2001 From: bart <9132501-flyingsheep@users.noreply.gitlab.com> Date: Mon, 16 Dec 2013 21:57:25 +0000 Subject: [PATCH] Components, printers: Fix wrong compiler directive for compiler version detection in r43553 #07ebd480ca git-svn-id: trunk@43554 - --- components/printers/win32/winprinters.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/printers/win32/winprinters.inc b/components/printers/win32/winprinters.inc index 4781e69607..2028abc9c5 100644 --- a/components/printers/win32/winprinters.inc +++ b/components/printers/win32/winprinters.inc @@ -570,7 +570,7 @@ begin end else begin - {$IFDEF FPC_FULLVERSION>20602} + {$IF FPC_FULLVERSION>20602} PDev.Device := PChar(TmpDevModeA^.dmDeviceName); {$ELSE} PDev.Device := PChar(PByte(TmpDevModeA^.dmDeviceName));