From: Tor Lillqvist Date: Tue, 22 Jun 2010 09:10:34 +0000 (+0300) Subject: Bypass a few functions not used on Windows when compiling for Windows X-Git-Tag: 2.25.10~37 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2e842490826644210bc5d2df2df8092597b3f708;p=platform%2Fupstream%2Fglib.git Bypass a few functions not used on Windows when compiling for Windows --- diff --git a/gio/glocalfile.c b/gio/glocalfile.c index 57dad07..a278f34 100644 --- a/gio/glocalfile.c +++ b/gio/glocalfile.c @@ -1454,6 +1454,8 @@ g_local_file_delete (GFile *file, return TRUE; } +#ifndef G_OS_WIN32 + static char * strip_trailing_slashes (const char *path) { @@ -1578,8 +1580,6 @@ expand_all_symlinks (const char *path) return res; } -#ifndef G_OS_WIN32 - static char * find_mountpoint_for (const char *file, dev_t dev)