mirror of
https://github.com/reactos/reactos.git
synced 2025-06-05 01:10:26 +00:00
Forgot ntdef.h
svn path=/trunk/; revision=45226
This commit is contained in:
parent
601c4ee420
commit
5811cad11d
1 changed files with 1 additions and 9 deletions
|
@ -193,16 +193,8 @@ typedef unsigned long POINTER_64; // FIXME! HACK!!!
|
||||||
|
|
||||||
// Done the same way as in windef.h for now
|
// Done the same way as in windef.h for now
|
||||||
#define DECLSPEC_IMPORT __declspec(dllimport)
|
#define DECLSPEC_IMPORT __declspec(dllimport)
|
||||||
|
#define DECLSPEC_NORETURN __declspec(noreturn)
|
||||||
|
|
||||||
#ifndef DECLSPEC_NORETURN
|
|
||||||
#if (_MSC_VER >= 1200) && !defined(MIDL_PASS)
|
|
||||||
#define DECLSPEC_NORETURN __declspec(noreturn)
|
|
||||||
#else
|
|
||||||
/* On 4.5 we can use __builtin_unreachable instead of this hack */
|
|
||||||
__attribute__ ((noreturn)) void exit(int s) {exit(s);}
|
|
||||||
#define DECLSPEC_NORETURN __attribute__((noreturn))
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef DECLSPEC_ADDRSAFE
|
#ifndef DECLSPEC_ADDRSAFE
|
||||||
#if (_MSC_VER >= 1200) && (defined(_M_ALPHA) || defined(_M_AXP64))
|
#if (_MSC_VER >= 1200) && (defined(_M_ALPHA) || defined(_M_AXP64))
|
||||||
|
|
Loading…
Reference in a new issue