* Use __attribute__((weak)) instead of __declspec(selectany) until http://llvm.org/bugs/show_bug.cgi?id=13778 is fixed.

svn path=/trunk/; revision=57244
This commit is contained in:
Amine Khaldi 2012-09-06 12:28:53 +00:00
parent e9301d98b4
commit 78e5340f6c

View file

@ -32,8 +32,13 @@ typedef struct _GUID
#endif
#ifndef DECLSPEC_SELECTANY
#ifdef __clang__
/* FIXME: http://llvm.org/bugs/show_bug.cgi?id=13778 */
#define DECLSPEC_SELECTANY __attribute__((weak))
#else
#define DECLSPEC_SELECTANY __declspec(selectany)
#endif
#endif
#ifndef EXTERN_C
#ifdef __cplusplus