Author: akhaldi
Date: Thu Sep 11 10:50:15 2014
New Revision: 64115
URL:
http://svn.reactos.org/svn/reactos?rev=64115&view=rev
Log:
[INCLUDES]
* Define DECLSPEC_HOTPATCH to nothing until
http://llvm.org/bugs/show_bug.cgi?id=20888 is
fixed.
CORE-8516
Modified:
trunk/reactos/include/crt/_mingw.h
trunk/reactos/include/reactos/wine/config.h
Modified: trunk/reactos/include/crt/_mingw.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/crt/_mingw.h?rev=6…
==============================================================================
--- trunk/reactos/include/crt/_mingw.h [iso-8859-1] (original)
+++ trunk/reactos/include/crt/_mingw.h [iso-8859-1] Thu Sep 11 10:50:15 2014
@@ -217,7 +217,8 @@
/* Define to a function attribute for Microsoft hotpatch assembly prefix. */
#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
#else
#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))
Modified: trunk/reactos/include/reactos/wine/config.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/wine/confi…
==============================================================================
--- trunk/reactos/include/reactos/wine/config.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/wine/config.h [iso-8859-1] Thu Sep 11 10:50:15 2014
@@ -2,7 +2,8 @@
/* Define to a function attribute for Microsoft hotpatch assembly prefix. */
#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
#else
#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))