From ec90e08d13a824ccced954445b742ff9ef81acee Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Fri, 9 Apr 2010 01:07:20 +0200 Subject: [PATCH 09/10] Simple fix for Windows CE's lack of strtoll. --- tools/dbus-send.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/tools/dbus-send.c b/tools/dbus-send.c index c7d5090..2a4a155 100644 --- a/tools/dbus-send.c +++ b/tools/dbus-send.c @@ -101,6 +101,7 @@ append_arg (DBusMessageIter *iter, int type, const char *value) dbus_message_iter_append_basic (iter, DBUS_TYPE_UINT32, &uint32); break; +#ifndef DBUS_WINCE case DBUS_TYPE_INT64: int64 = strtoll (value, NULL, 0); dbus_message_iter_append_basic (iter, DBUS_TYPE_INT64, &int64); @@ -110,6 +111,7 @@ append_arg (DBusMessageIter *iter, int type, const char *value) uint64 = strtoull (value, NULL, 0); dbus_message_iter_append_basic (iter, DBUS_TYPE_UINT64, &uint64); break; +#endif case DBUS_TYPE_STRING: dbus_message_iter_append_basic (iter, DBUS_TYPE_STRING, &value); -- 1.7.0