dbus/dbus-arch-deps.h.in: also use DBUS_GNUC_EXTENSION for DBUS_INT64_CONSTANT and...
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 10 Oct 2007 12:37:48 +0000 (13:37 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 11 Oct 2007 09:07:02 +0000 (10:07 +0100)
dbus/dbus-arch-deps.h.in

index 65d406a..a5180bd 100644 (file)
@@ -36,8 +36,8 @@ DBUS_BEGIN_DECLS
 DBUS_GNUC_EXTENSION typedef @DBUS_INT64_TYPE@ dbus_int64_t;
 DBUS_GNUC_EXTENSION typedef unsigned @DBUS_INT64_TYPE@ dbus_uint64_t;
 
-#define DBUS_INT64_CONSTANT(val)  @DBUS_INT64_CONSTANT@
-#define DBUS_UINT64_CONSTANT(val) @DBUS_UINT64_CONSTANT@
+#define DBUS_INT64_CONSTANT(val)  (DBUS_GNUC_EXTENSION @DBUS_INT64_CONSTANT@)
+#define DBUS_UINT64_CONSTANT(val) (DBUS_GNUC_EXTENSION @DBUS_UINT64_CONSTANT@)
 
 #else
 #undef DBUS_HAVE_INT64