Index: include/psdk/ntdef.h =================================================================== --- include/psdk/ntdef.h (revision 56861) +++ include/psdk/ntdef.h (working copy) @@ -226,7 +226,7 @@ /* Import and Export Specifiers */ /* Done the same way as in windef.h for now */ -#define DECLSPEC_IMPORT __declspec(dllimport) +#define DECLSPEC_IMPORT #define DECLSPEC_NORETURN __declspec(noreturn) #ifndef DECLSPEC_ADDRSAFE @@ -246,8 +246,8 @@ #endif #if !defined(_NTSYSTEM_) -#define NTSYSAPI DECLSPEC_IMPORT -#define NTSYSCALLAPI DECLSPEC_IMPORT +#define NTSYSAPI __declspec(dllimport) +#define NTSYSCALLAPI __declspec(dllimport) #else #define NTSYSAPI #if defined(_NTDLLBUILD_) Index: winddi.h =================================================================== --- include/psdk/winddi.h (revision 56861) +++ include/psdk/winddi.h (working copy) @@ -38,7 +38,7 @@ #endif #ifndef DECLSPEC_IMPORT -#define DECLSPEC_IMPORT __attribute__((dllimport)) +#define DECLSPEC_IMPORT #endif #ifndef WIN32KAPI Index: windef.h =================================================================== --- include/psdk/windef.h (revision 56861) +++ include/psdk/windef.h (working copy) @@ -120,7 +120,7 @@ #define DECLARE_STDCALL_P( type ) type __stdcall #endif /* __GNUC__/__WATCOMC__ */ -#define DECLSPEC_IMPORT __declspec(dllimport) +#define DECLSPEC_IMPORT #define DECLSPEC_EXPORT __declspec(dllexport) #ifndef DECLSPEC_NOINLINE #if (_MSC_VER >= 1300) Index: winnt.h =================================================================== --- include/psdk/winnt.h (revision 56861) +++ include/psdk/winnt.h (working copy) @@ -181,8 +181,8 @@ #endif #if !defined(_NTSYSTEM_) -#define NTSYSAPI DECLSPEC_IMPORT -#define NTSYSCALLAPI DECLSPEC_IMPORT +#define NTSYSAPI __declspec(dllimport) +#define NTSYSCALLAPI __declspec(dllimport) #else #define NTSYSAPI #if defined(_NTDLLBUILD_) Index: include/ddk/wdm.h =================================================================== --- include/ddk/wdm.h (revision 56861) +++ include/ddk/wdm.h (working copy) @@ -82,7 +82,7 @@ /* For ReactOS */ #if !defined(_NTOSKRNL_) && !defined(_BLDR_) -#define NTKERNELAPI DECLSPEC_IMPORT +#define NTKERNELAPI __declspec(dllimport) #else #define NTKERNELAPI #endif