win32: add gwin32compat.h, for utf8-renaming compatibility defines

To avoid -Wmissing-prototype warnings, we need to prototype both the
original and the _utf8 versions of all of the functions that have had
_utf8-renaming on Windows. But duplicating all the prototypes is ugly,
so rather than doing them "in-place", move them all to a new header
file just for that.

https://bugzilla.gnome.org/show_bug.cgi?id=688109
This commit is contained in:
Dan Winship
2012-11-15 12:24:57 -05:00
parent c2acbc0182
commit 08f4f92fed
15 changed files with 198 additions and 84 deletions

View File

@@ -51,7 +51,8 @@ IGNORE_HFILES = \
gvariant-serialiser.h \
gvariant-core.h \
gvarianttypeinfo.h \
gwakeup.h
gwakeup.h \
gwin32compat.h
# Images to copy into HTML directory
HTML_IMAGES = \