ソースを参照

SDL_dbus.h: define DBUS_TIMEOUT_USE_DEFAULT if not already defined.

(cherry picked from commit c521e1286be9284d3652569fab02718d9faa4d06)
Ozkan Sezer 2 年 前
コミット
834e8898b9
1 ファイル変更4 行追加0 行削除
  1. 4 0
      src/core/linux/SDL_dbus.h

+ 4 - 0
src/core/linux/SDL_dbus.h

@@ -29,6 +29,10 @@
 #include "SDL_stdinc.h"
 #include <dbus/dbus.h>
 
+#ifndef DBUS_TIMEOUT_USE_DEFAULT
+#define DBUS_TIMEOUT_USE_DEFAULT -1
+#endif
+
 typedef struct SDL_DBusContext
 {
     DBusConnection *session_conn;