mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
99efc2ae50
- windows.h: * should define _WINDOWS_ and _INC_WINDOWS instead of _WINDOWS_H * include winresrc.h if RC_INVOKED and not NOWINRES (Wine also agrees with that) * also, some .h included from there should _not_ be included if their respective NO*** flags are defined. - batclass.h: Use correct _WINDOWS_ guard. - winsnmp.h: * should define _INC_WINSNMP instead of _WINSNMP_H * use _INC_WINDOWS instead of _WINDOWS_H - afd.h, vgaddi.h: Use the correct guards. - winnt.rh: Define the (SUB)LANG_* exactly as they are in the winnt.h, otherwise we get macro redefinition compile errors. NOTE: Ideally these .rh files should be auto-generated from their corresponding .h files. - afxres.h: Do not include the whole windows.h, but instead, only the winres.h file, and only if RC_INVOKED is defined. NOTE: Both afxres.h and winres.h do not really belong to the PSDK, but belong instead to MFC. The reason why we have them here is twofold: 1. Wine used to have also winres.h (from where we got ours). This is because the .rc resource files of some non-MFC modules were generated with Visual Studio, which always includes afxres.h for these, and the solution was to use a slightly less MFC-specific header: winres.h (Wine commit cb08c82244673f26842e7a0766de90f091b5a493). However, this winres.h has been since removed from Wine tree (Wine commit 197f4059ab2af5f13f9c56faa26e3b4af902f869). 2. Few of our modules either use afxres.h or winres.h in their resource files, and we still want to be able to compile them. |
||
---|---|---|
.. | ||
drivers | ||
gdi | ||
include | ||
printing | ||
reactx | ||
user | ||
CMakeLists.txt | ||
napi.h | ||
pch.h | ||
sys-stubs.S | ||
w32ksvc32.h | ||
w32ksvc64.h | ||
win32k.h | ||
win32k.rc | ||
win32k.spec | ||
win32kp.h |