Commit 97ede2dc authored by Rolf Kalbermatter's avatar Rolf Kalbermatter Committed by Alexandre Julliard

include: Fix DECLSPEC_NORETURN for compilation with MS C compiler.

parent 9281c948
......@@ -73,9 +73,7 @@ struct wine_pthread_callbacks
/* we don't want to include winnt.h here */
#ifndef DECLSPEC_NORETURN
# if defined(_MSC_VER) && (_MSC_VER >= 1200)
# define DECLSPEC_NORETURN __declspec(noreturn)
# elif defined(__GNUC__)
# ifdef __GNUC__
# define DECLSPEC_NORETURN __attribute__((noreturn))
# else
# define DECLSPEC_NORETURN
......
......@@ -2013,7 +2013,7 @@ BOOL WINAPI RtlEqualPrefixSid(PSID,PSID);
BOOL WINAPI RtlEqualSid(PSID,PSID);
BOOLEAN WINAPI RtlEqualString(const STRING*,const STRING*,BOOLEAN);
BOOLEAN WINAPI RtlEqualUnicodeString(const UNICODE_STRING*,const UNICODE_STRING*,BOOLEAN);
void WINAPI RtlExitUserThread(ULONG) DECLSPEC_NORETURN;
void DECLSPEC_NORETURN WINAPI RtlExitUserThread(ULONG);
NTSTATUS WINAPI RtlExpandEnvironmentStrings_U(PWSTR, const UNICODE_STRING*, UNICODE_STRING*, ULONG*);
LONGLONG WINAPI RtlExtendedMagicDivide(LONGLONG,LONGLONG,INT);
LONGLONG WINAPI RtlExtendedIntegerMultiply(LONGLONG,INT);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment