mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 19:26:29 +00:00
[PSDK]
* 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:
parent
e9301d98b4
commit
78e5340f6c
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue