Readd RT_RCDATA to the Types unit, but with a deprecated message so that users use the Windows one instead.

rtl/objpas/types.pp:
  + readd RT_RCDATA as a reference to the one declared in the Windows unit for Win32 and Win64; also add a deprecated message that advices users to use the one declared in the Windows instead.

git-svn-id: trunk@29127 -
This commit is contained in:
svenbarth 2014-11-23 20:32:21 +00:00
parent 9a31cba3d3
commit 2f613f71d7

View File

@ -21,6 +21,11 @@ unit types;
Windows;
{$endif Windows}
{$ifdef mswindows}
const
RT_RCDATA = Windows.RT_RCDATA deprecated 'Use Windows.RT_RCDATA instead';
{$endif mswindows}
type
DWORD = LongWord;