gcredentials: add internal macros to simplify all the #ifdefs

Rather than having lots of obscure platform-based #ifdefs all over
gio, define some macros in gcredentialsprivate.h, and use those to
simplify the rest of the code.

https://bugzilla.gnome.org/show_bug.cgi?id=701482
This commit is contained in:
Dan Winship
2013-09-18 13:40:09 -04:00
parent 32d2539295
commit cedd697bf8
7 changed files with 234 additions and 261 deletions

View File

@@ -342,6 +342,7 @@ libgio_2_0_la_SOURCES = \
gconverterinputstream.c \
gconverteroutputstream.c \
gcredentials.c \
gcredentialsprivate.h \
gdatainputstream.c \
gdataoutputstream.c \
gdrive.c \