Use DBUS_GNUC_EXTENSION to avoid -ansi -pedantic warnings about use of long long...
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 10 Oct 2007 12:04:08 +0000 (13:04 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 11 Oct 2007 09:06:54 +0000 (10:06 +0100)
dbus/dbus-arch-deps.h.in

index 2a02a7f..65d406a 100644 (file)
@@ -33,8 +33,8 @@ DBUS_BEGIN_DECLS
 
 #if @DBUS_HAVE_INT64@
 #define DBUS_HAVE_INT64 1
-typedef @DBUS_INT64_TYPE@ dbus_int64_t;
-typedef unsigned @DBUS_INT64_TYPE@ dbus_uint64_t;
+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@