mirror of
https://github.com/reactos/reactos.git
synced 2025-06-12 10:28:31 +00:00
[INCLUDES]
* Define DECLSPEC_HOTPATCH to nothing until http://llvm.org/bugs/show_bug.cgi?id=20888 is fixed. CORE-8516 svn path=/trunk/; revision=64115
This commit is contained in:
parent
db90bb6299
commit
8a8c6273fc
2 changed files with 4 additions and 2 deletions
|
@ -217,7 +217,8 @@ allow GCC to optimize away some EH unwind code, at least in DW2 case. */
|
||||||
|
|
||||||
/* Define to a function attribute for Microsoft hotpatch assembly prefix. */
|
/* Define to a function attribute for Microsoft hotpatch assembly prefix. */
|
||||||
#ifndef DECLSPEC_HOTPATCH
|
#ifndef DECLSPEC_HOTPATCH
|
||||||
#ifdef _MSC_VER
|
#if defined(_MSC_VER) || defined(__clang__)
|
||||||
|
/* FIXME: http://llvm.org/bugs/show_bug.cgi?id=20888 */
|
||||||
#define DECLSPEC_HOTPATCH
|
#define DECLSPEC_HOTPATCH
|
||||||
#else
|
#else
|
||||||
#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))
|
#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))
|
||||||
|
|
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
/* Define to a function attribute for Microsoft hotpatch assembly prefix. */
|
/* Define to a function attribute for Microsoft hotpatch assembly prefix. */
|
||||||
#ifndef DECLSPEC_HOTPATCH
|
#ifndef DECLSPEC_HOTPATCH
|
||||||
#ifdef _MSC_VER
|
#if defined(_MSC_VER) || defined(__clang__)
|
||||||
|
/* FIXME: http://llvm.org/bugs/show_bug.cgi?id=20888 */
|
||||||
#define DECLSPEC_HOTPATCH
|
#define DECLSPEC_HOTPATCH
|
||||||
#else
|
#else
|
||||||
#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))
|
#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue