mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-05 02:58:01 +02:00
Clarify which files are Unix-specific
dbus-spawn.c and dbus-userdb* don't have obviously-Unix-specific names, but are Unix-specific anyway. Signed-off-by: Simon McVittie <smcv@collabora.com> Reviewed-by: Philip Withnall <withnall@endlessm.com> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=104588
This commit is contained in:
parent
2c9d7a6657
commit
a0ac652117
3 changed files with 20 additions and 0 deletions
|
|
@ -24,6 +24,13 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
/* It isn't obvious from its name, but this file is part of the Unix
|
||||
* system-dependent part of libdbus. Windows has a parallel
|
||||
* implementation in dbus-spawn-win.c. */
|
||||
#if defined(DBUS_WIN) || !defined(DBUS_UNIX)
|
||||
#error "This file only makes sense on Unix OSs"
|
||||
#endif
|
||||
|
||||
#include "dbus-spawn.h"
|
||||
#include "dbus-sysdeps-unix.h"
|
||||
#include "dbus-internals.h"
|
||||
|
|
|
|||
|
|
@ -30,6 +30,12 @@
|
|||
#include <dbus/dbus-test-tap.h>
|
||||
#include <string.h>
|
||||
|
||||
/* It isn't obvious from its name, but this file is part of the Unix
|
||||
* system-dependent part of libdbus. */
|
||||
#if defined(DBUS_WIN) || !defined(DBUS_UNIX)
|
||||
#error "This file only makes sense on Unix OSs"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SYSTEMD
|
||||
#include <systemd/sd-login.h>
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -30,6 +30,13 @@
|
|||
#include "dbus-credentials.h"
|
||||
#include <string.h>
|
||||
|
||||
/* It isn't obvious from its name, but this file is part of the Unix
|
||||
* system-dependent part of libdbus. Windows has a parallel
|
||||
* implementation of some of it in dbus-sysdeps-win.c. */
|
||||
#if defined(DBUS_WIN) || !defined(DBUS_UNIX)
|
||||
#error "This file only makes sense on Unix OSs"
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @addtogroup DBusInternalsUtils
|
||||
* @{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue