mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 12:23:28 +00:00
[DDK/PSDK]
Put NOP_FUNCTION where it belongs! svn path=/trunk/; revision=56135
This commit is contained in:
@@ -128,16 +128,6 @@ extern "C" {
|
||||
#define ALLOC_DATA_PRAGMA 1
|
||||
#endif
|
||||
|
||||
/* Add NOP_FUNCTION support */
|
||||
#ifndef NOP_FUNCTION && (_MSC_VER >= 1210)
|
||||
#define NOP_FUNCTION __noop
|
||||
#else
|
||||
#define NOP_FUNCTION (void)0
|
||||
#endif
|
||||
#else
|
||||
#ifndef NOP_FUNCTION
|
||||
#define NOP_FUNCTION (void)0
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(_WIN64)
|
||||
|
||||
@@ -237,6 +237,14 @@
|
||||
#endif
|
||||
#endif /* DECLSPEC_ADDRSAFE */
|
||||
|
||||
#ifndef NOP_FUNCTION
|
||||
#if (_MSC_VER >= 1210)
|
||||
#define NOP_FUNCTION __noop
|
||||
#else
|
||||
#define NOP_FUNCTION (void)0
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if !defined(_NTSYSTEM_)
|
||||
#define NTSYSAPI DECLSPEC_IMPORT
|
||||
#define NTSYSCALLAPI DECLSPEC_IMPORT
|
||||
|
||||
@@ -81,6 +81,14 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef NOP_FUNCTION
|
||||
#if (_MSC_VER >= 1210)
|
||||
#define NOP_FUNCTION __noop
|
||||
#else
|
||||
#define NOP_FUNCTION (void)0
|
||||
#endif
|
||||
#endif
|
||||
|
||||
# define DECLSPEC_HIDDEN
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user