Fix cygw32 build break with dbus compilation
authorDaniel Colascione <dancol@dancol.org>
Mon, 15 Oct 2012 01:38:07 +0000 (17:38 -0800)
committerDaniel Colascione <dancol@dancol.org>
Mon, 15 Oct 2012 01:38:07 +0000 (17:38 -0800)
src/ChangeLog
src/dbusbind.c

index bb7ddcf..e142cad 100644 (file)
@@ -1,3 +1,9 @@
+2012-10-15  Daniel Colascione  <dancol@dancol.org>
+
+       * dbusbind.c: Fix cygw32 build break when compiling with dbus
+       enabled by undefining the symbol "interface", which the platform
+       headers define to something incompatible.
+
 2012-10-14  Daniel Colascione  <dancol@dancol.org>
 
        * image.c (init_tiff_functions, init_imagemagick_functions)
index c2eefd6..43938bb 100644 (file)
@@ -32,6 +32,10 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 #define DBUS_NUM_MESSAGE_TYPES 5
 #endif
 
+#ifdef interface
+#undef interface
+#endif
+
 \f
 /* Subroutines.  */
 static Lisp_Object Qdbus_init_bus;