[PSDK] Minor cleanup and fixes in headers

- Remove nonsensical XFree86 stuff;
- Add missing #ifndef NORESOURCE around RT_* defines.
This commit is contained in:
Hermès Bélusca-Maïto 2023-11-21 22:01:55 +01:00
parent 16b4c9ff3c
commit 9578bae858
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
3 changed files with 9 additions and 8 deletions

View file

@ -593,16 +593,17 @@ extern "C" {
#endif /* WINE_NO_UNICODE_MACROS */
#endif /* !RC_INVOKED */
#ifndef XFree86Server
# define RT_CURSOR MAKEINTRESOURCE(1)
# define RT_FONT MAKEINTRESOURCE(8)
#endif /* ndef XFree86Server */
#ifndef NORESOURCE
#define RT_CURSOR MAKEINTRESOURCE(1)
#define RT_BITMAP MAKEINTRESOURCE(2)
#define RT_ICON MAKEINTRESOURCE(3)
#define RT_MENU MAKEINTRESOURCE(4)
#define RT_DIALOG MAKEINTRESOURCE(5)
#define RT_STRING MAKEINTRESOURCE(6)
#define RT_FONTDIR MAKEINTRESOURCE(7)
#define RT_FONT MAKEINTRESOURCE(8)
#define RT_ACCELERATOR MAKEINTRESOURCE(9)
#define RT_RCDATA MAKEINTRESOURCE(10)
#define RT_MESSAGETABLE MAKEINTRESOURCE(11)
@ -627,6 +628,10 @@ extern "C" {
#define ISOLATIONAWARE_MANIFEST_RESOURCE_ID 2
#define ISOLATIONAWARE_NOSTATICIMPORT_MANIFEST_RESOURCE_ID 3
#endif
#endif /* !NORESOURCE */
#define EWX_FORCE 0x00000004
#define EWX_LOGOFF 0
#define EWX_POWEROFF 0x00000008