Jacek Caban : wine/exception.h: Don't override __attribute__ keyword on clang MSVC target.
Alexandre Julliard
julliard at winehq.org
Mon Apr 27 15:19:29 CDT 2020
Module: wine
Branch: master
Commit: 59336f2ff2a36003e2b4bdc3dfe7e35ca012e7a2
URL: https://source.winehq.org/git/wine.git/?a=commit;h=59336f2ff2a36003e2b4bdc3dfe7e35ca012e7a2
Author: Jacek Caban <jacek at codeweavers.com>
Date: Mon Apr 27 01:18:50 2020 +0200
wine/exception.h: Don't override __attribute__ keyword on clang MSVC target.
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
include/wine/exception.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/wine/exception.h b/include/wine/exception.h
index 4bf4c7e6d9..a6ada7af21 100644
--- a/include/wine/exception.h
+++ b/include/wine/exception.h
@@ -70,7 +70,7 @@ extern "C" {
* -- AJ
*/
-#ifndef __GNUC__
+#if !defined(__GNUC__) && !defined(__clang__)
#define __attribute__(x) /* nothing */
#endif
More information about the wine-cvs
mailing list