gnetworking.h.in: move "#undef interface"
authorDan Winship <danw@gnome.org>
Sun, 2 Nov 2014 14:36:14 +0000 (09:36 -0500)
committerDan Winship <danw@gnome.org>
Sun, 2 Nov 2014 14:36:14 +0000 (09:36 -0500)
commit7103484017ff000d01ed94567539d37fa09b32b2
tree652bdfecd6a1d57158e8535526216c801d4a05b0
parent982d0e11d702ff49f69cb90cb65dd71ebd3df54d
gnetworking.h.in: move "#undef interface"

The win32 headers do:

  #define interface struct

which is just evil and breaks other code that assumes it can use
"interface" as a variable name. gnetworking.h was supposed to be doing
"#undef interface" after including the win headers, but it did it too
soon, resulting in it getting redefined by a later include. Fix this.

https://bugzilla.gnome.org/show_bug.cgi?id=738551
gio/gnetworking.h.in