This is why we can't have nice things. Fixes r38338 build regression

svn path=/trunk/; revision=38340
This commit is contained in:
KJK::Hyperion 2008-12-24 23:31:09 +00:00
parent 456b1c9e58
commit e4fdb61e4c
2 changed files with 14 additions and 4 deletions

View file

@ -225,6 +225,7 @@ typedef unsigned long POINTER_64; // FIXME! HACK!!!
#endif
#endif
#ifndef DECLSPEC_NOINLINE
#if (_MSC_VER >= 1300)
#define DECLSPEC_NOINLINE __declspec(noinline)
#elif defined(__GNUC__)
@ -232,6 +233,7 @@ typedef unsigned long POINTER_64; // FIXME! HACK!!!
#else
#define DECLSPEC_NOINLINE
#endif
#endif
#if !defined(_M_CEE_PURE)
#define NTAPI_INLINE NTAPI

View file

@ -141,7 +141,15 @@ extern "C" {
#define DECLSPEC_IMPORT __declspec(dllimport)
#define DECLSPEC_EXPORT __declspec(dllexport)
#ifndef DECLSPEC_NOINLINE
#if (_MSC_VER >= 1300)
#define DECLSPEC_NOINLINE __declspec(noinline)
#elif defined(__GNUC__)
#define DECLSPEC_NOINLINE __attribute__((noinline))
#else
#define DECLSPEC_NOINLINE
#endif
#endif
#ifdef __GNUC__
#define DECLSPEC_NORETURN __declspec(noreturn)
#define DECLARE_STDCALL_P( type ) __stdcall type