[DDK/PSDK]

Put NOP_FUNCTION where it belongs!

svn path=/trunk/; revision=56135
This commit is contained in:
Timo Kreuzer 2012-03-12 21:27:15 +00:00
parent a79c6b0ff0
commit c59095903a
3 changed files with 16 additions and 10 deletions

View File

@ -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)

View File

@ -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

View File

@ -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