mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-19 17:58:13 +00:00
SDL_dbus.h: define DBUS_TIMEOUT_USE_DEFAULT if not already defined.
This commit is contained in:
@@ -28,6 +28,10 @@
|
|||||||
#define SDL_USE_LIBDBUS 1
|
#define SDL_USE_LIBDBUS 1
|
||||||
#include <dbus/dbus.h>
|
#include <dbus/dbus.h>
|
||||||
|
|
||||||
|
#ifndef DBUS_TIMEOUT_USE_DEFAULT
|
||||||
|
#define DBUS_TIMEOUT_USE_DEFAULT -1
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef struct SDL_DBusContext
|
typedef struct SDL_DBusContext
|
||||||
{
|
{
|
||||||
DBusConnection *session_conn;
|
DBusConnection *session_conn;
|
||||||
|
Reference in New Issue
Block a user