mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-17 15:58:06 +02:00
Fix PROFILE_TIMED_FORMAT printf warning on OSX.
This commit is contained in:
parent
b3fa6eff0d
commit
2366423e97
1 changed files with 4 additions and 0 deletions
|
|
@ -95,7 +95,11 @@ monitor_filter_func (DBusConnection *connection,
|
|||
return DBUS_HANDLER_RESULT_HANDLED;
|
||||
}
|
||||
|
||||
#ifdef __APPLE__
|
||||
#define PROFILE_TIMED_FORMAT "%s\t%lu\t%d"
|
||||
#else
|
||||
#define PROFILE_TIMED_FORMAT "%s\t%lu\t%lu"
|
||||
#endif
|
||||
#define TRAP_NULL_STRING(str) ((str) ? (str) : "<none>")
|
||||
|
||||
typedef enum
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue