codegen.py: Rearrange GLib Version Check
authorChun-wei Fan <fanchunwei@src.gnome.org>
Tue, 29 Oct 2013 06:55:27 +0000 (14:55 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Thu, 7 Nov 2013 01:25:54 +0000 (09:25 +0800)
commit87e6db8deb96565cf4336c187e0dcec8b014cae2
tree818e5c9432022354d691550d0a3e5d0f11cf454b
parente55d33edc1336ddc6d5cdfa0e3003a69a5812d26
codegen.py: Rearrange GLib Version Check

...so that the generated code will build on all platforms, as compilers
like Visual C++ does not like #ifdef checks during a definition/use of
a macro.

https://bugzilla.gnome.org/show_bug.cgi?id=711049
gio/gdbus-2.0/codegen/codegen.py