mirror of
https://github.com/reactos/reactos.git
synced 2025-08-01 23:32:59 +00:00
[PSDK][XDK] Remove DECLSPEC_* from windef.h, protect against redefinition in winnt.h
This commit is contained in:
parent
0d838f40a3
commit
b9f88d594d
3 changed files with 10 additions and 26 deletions
|
@ -163,8 +163,16 @@
|
|||
|
||||
/* Import and Export Specifiers */
|
||||
|
||||
/* Done the same way as in windef.h for now */
|
||||
#define DECLSPEC_IMPORT __declspec(dllimport) // MIDL?
|
||||
#ifndef DECLSPEC_IMPORT
|
||||
#define DECLSPEC_IMPORT __declspec(dllimport) // MIDL?
|
||||
#endif /* DECLSPEC_IMPORT */
|
||||
|
||||
#ifndef DECLSPEC_EXPORT
|
||||
#if defined(__REACTOS__) || defined(__WINESRC__)
|
||||
#define DECLSPEC_EXPORT __declspec(dllexport)
|
||||
#endif
|
||||
#endif /* DECLSPEC_EXPORT */
|
||||
|
||||
#define DECLSPEC_NORETURN __declspec(noreturn)
|
||||
|
||||
#ifndef DECLSPEC_ADDRSAFE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue