mirror of
https://github.com/reactos/reactos.git
synced 2024-09-13 14:22:22 +00:00
- Define NTSYSAPI and NTSYSCALLAPI
svn path=/trunk/; revision=17649
This commit is contained in:
parent
851e0f3f36
commit
a4d8aa2194
|
@ -38,6 +38,7 @@ extern "C" {
|
|||
#define DDKFASTAPI __fastcall
|
||||
#define DDKCDECLAPI __cdecl
|
||||
|
||||
/* FIXME: REMOVE THIS UNCOMPATIBLE CRUFT!!! */
|
||||
#if defined(_NTOSKRNL_)
|
||||
#ifndef NTOSAPI
|
||||
#define NTOSAPI DECL_EXPORT
|
||||
|
@ -82,6 +83,18 @@ extern "C" {
|
|||
# define _DDK_DUMMYUNION_N_MEMBER(n, name) name
|
||||
#endif
|
||||
|
||||
#if !defined(_NTSYSTEM_)
|
||||
#define NTSYSAPI DECLSPEC_IMPORT
|
||||
#define NTSYSCALLAPI DECLSPEC_IMPORT
|
||||
#else
|
||||
#define NTSYSAPI
|
||||
#if defined(_NTDLLBUILD_)
|
||||
#define NTSYSCALLAPI
|
||||
#else
|
||||
#define NTSYSCALLAPI DECLSPEC_ADDRSAFE
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
** Forward declarations
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue