提交 8ba33d5e 编写于 作者: D Daniel P. Berrange

Revert "internal: don't use weak symbols for Win32 platform"

This reverts commit b9473d8b.
上级 1701ba6f
......@@ -128,14 +128,10 @@
*
*/
# ifndef ATTRIBUTE_MOCKABLE
# if defined(WIN32)
# define ATTRIBUTE_MOCKABLE
# if __GNUC_PREREQ(4, 5)
# define ATTRIBUTE_MOCKABLE __attribute__((__noinline__, __noclone__, __weak__))
# else
# if __GNUC_PREREQ(4, 5)
# define ATTRIBUTE_MOCKABLE __attribute__((__noinline__, __noclone__, __weak__))
# else
# define ATTRIBUTE_MOCKABLE __attribute__((__noinline__, __weak__))
# endif
# define ATTRIBUTE_MOCKABLE __attribute__((__noinline__, __weak__))
# endif
# endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册