mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-28 19:26:16 +00:00
[PSDK]
Improve MAKEINTRESOURCE macros to silence warnings on overzealous gcc versions. See issue #5343 for more details. svn path=/trunk/; revision=51655
This commit is contained in:
@@ -577,8 +577,8 @@ extern "C" {
|
||||
#define SB_BOTTOM 7
|
||||
#define SB_TOP 6
|
||||
#define IS_INTRESOURCE(i) (((ULONG_PTR)(i) >> 16) == 0)
|
||||
#define MAKEINTRESOURCEA(i) (LPSTR)((ULONG_PTR)((WORD)(i)))
|
||||
#define MAKEINTRESOURCEW(i) (LPWSTR)((ULONG_PTR)((WORD)(i)))
|
||||
#define MAKEINTRESOURCEA(i) ((LPSTR)(ULONG_PTR)LOWORD(i))
|
||||
#define MAKEINTRESOURCEW(i) ((LPWSTR)(ULONG_PTR)LOWORD(i))
|
||||
#ifndef XFree86Server
|
||||
# define RT_CURSOR MAKEINTRESOURCE(1)
|
||||
# define RT_FONT MAKEINTRESOURCE(8)
|
||||
|
||||
Reference in New Issue
Block a user