mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2025-12-28 23:40:11 +01:00
fixed DBUS_VA_COPY for msvc
This commit is contained in:
parent
fd049c3455
commit
8ab7f05a19
2 changed files with 9 additions and 1 deletions
|
|
@ -52,6 +52,14 @@ find_package(X11)
|
|||
|
||||
OPTION(DBUS_ENABLE_ABSTRACT_SOCKETS "enable support for abstract sockets" ON)
|
||||
|
||||
if (MINGW)
|
||||
set (DBUS_VA_COPY_AS_ARRAY 1)
|
||||
endif (MINGW)
|
||||
if (MSVC)
|
||||
set (DBUS_HAVE_VA_COPY 1)
|
||||
set (DBUS_VA_COPY_AS_ARRAY 0)
|
||||
endif (MSVC)
|
||||
|
||||
# do config checks
|
||||
INCLUDE(ConfigureChecks.cmake)
|
||||
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@
|
|||
#undef DBUS_VA_COPY_FUNC
|
||||
#endif
|
||||
|
||||
#cmakedefine DBUS_VA_COPY_AS_ARRAY 1
|
||||
#cmakedefine DBUS_VA_COPY_AS_ARRAY @DBUS_VA_COPY_AS_ARRAY@
|
||||
|
||||
// headers
|
||||
/* Define to 1 if you have dirent.h */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue