mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 05:17:54 +03:00
Revert "internal: don't use weak symbols for Win32 platform"
This reverts commit b9473d8b11
.
This commit is contained in:
parent
1701ba6fdc
commit
8ba33d5e2d
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user