Author: akhaldi
Date: Thu Sep 6 12:28:53 2012
New Revision: 57244
URL:
http://svn.reactos.org/svn/reactos?rev=57244&view=rev
Log:
[PSDK]
* Use __attribute__((weak)) instead of __declspec(selectany) until
http://llvm.org/bugs/show_bug.cgi?id=13778 is fixed.
Modified:
trunk/reactos/include/psdk/guiddef.h
Modified: trunk/reactos/include/psdk/guiddef.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/guiddef.h?rev…
==============================================================================
--- trunk/reactos/include/psdk/guiddef.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/guiddef.h [iso-8859-1] Thu Sep 6 12:28:53 2012
@@ -32,7 +32,12 @@
#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