"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "dbus/dbus-sysdeps.h" between
dbus-1.13.12.tar.xz and dbus-1.13.14.tar.xz

About: D-Bus is an inter-process communication (IPC) system, allowing multiple, concurrently-running applications to communicate with one another. D-Bus supplies both a system daemon and a per-user-login-session daemon. Development version.

dbus-sysdeps.h  (dbus-1.13.12.tar.xz):dbus-sysdeps.h  (dbus-1.13.14.tar.xz)
skipping to change at line 77 skipping to change at line 77
* *
* The "legacy" build flavour in our CI machinery defines BROKEN_POLL * The "legacy" build flavour in our CI machinery defines BROKEN_POLL
* on whatever platform is in use (normally Linux) to force use of the * on whatever platform is in use (normally Linux) to force use of the
* same select()-based poll() emulation that we use for macOS, Interix, * same select()-based poll() emulation that we use for macOS, Interix,
* and any platform that lacks a real poll(), so that we can test it * and any platform that lacks a real poll(), so that we can test it
* more regularly. * more regularly.
*/ */
# define BROKEN_POLL # define BROKEN_POLL
#endif #endif
/* AIX sys/poll.h does #define events reqevents, and other /* Normally we'd only include this in dbus-sysdeps-unix.c.
* wonderousness, so must include sys/poll before declaring * However, the member names in DBusPollFD are (deliberately) the same as
* DBusPollFD * in POSIX struct pollfd, and AIX's poll() implementation is known to
* do things like "#define events reqevents", which would break that approach.
* Defend against that by ensuring that if it's renamed anywhere, it's renamed
* everywhere.
*/ */
#ifdef HAVE_POLL #ifdef HAVE_POLL
#include <sys/poll.h> #include <poll.h>
#endif #endif
#ifdef DBUS_WINCE #ifdef DBUS_WINCE
/* Windows CE lacks some system functions (such as errno and clock). /* Windows CE lacks some system functions (such as errno and clock).
We bring them in here. */ We bring them in here. */
#include "dbus-sysdeps-wince-glue.h" #include "dbus-sysdeps-wince-glue.h"
#endif #endif
#ifdef DBUS_WIN #ifdef DBUS_WIN
#include <ws2tcpip.h> #include <ws2tcpip.h>
skipping to change at line 337 skipping to change at line 340
volatile dbus_int32_t value; /**< Value of the atomic integer. */ volatile dbus_int32_t value; /**< Value of the atomic integer. */
#endif #endif
}; };
DBUS_PRIVATE_EXPORT DBUS_PRIVATE_EXPORT
dbus_int32_t _dbus_atomic_inc (DBusAtomic *atomic); dbus_int32_t _dbus_atomic_inc (DBusAtomic *atomic);
DBUS_PRIVATE_EXPORT DBUS_PRIVATE_EXPORT
dbus_int32_t _dbus_atomic_dec (DBusAtomic *atomic); dbus_int32_t _dbus_atomic_dec (DBusAtomic *atomic);
DBUS_PRIVATE_EXPORT DBUS_PRIVATE_EXPORT
dbus_int32_t _dbus_atomic_get (DBusAtomic *atomic); dbus_int32_t _dbus_atomic_get (DBusAtomic *atomic);
DBUS_PRIVATE_EXPORT
void _dbus_atomic_set_zero (DBusAtomic *atomic);
DBUS_PRIVATE_EXPORT
void _dbus_atomic_set_nonzero (DBusAtomic *atomic);
#ifdef DBUS_WIN #ifdef DBUS_WIN
/* On Windows, you can only poll sockets. We emulate Unix poll() using /* On Windows, you can only poll sockets. We emulate Unix poll() using
* select(), so it doesn't matter what precise type we put in DBusPollFD; * select(), so it doesn't matter what precise type we put in DBusPollFD;
* use DBusSocket so that the compiler can check we are doing it right. * use DBusSocket so that the compiler can check we are doing it right.
*/ */
typedef DBusSocket DBusPollable; typedef DBusSocket DBusPollable;
# define DBUS_POLLABLE_FORMAT "Iu" # define DBUS_POLLABLE_FORMAT "Iu"
 End of changes. 3 change blocks. 
4 lines changed or deleted 11 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)