Bypass a few functions not used on Windows when compiling for Windows
authorTor Lillqvist <tml@iki.fi>
Tue, 22 Jun 2010 09:10:34 +0000 (12:10 +0300)
committerTor Lillqvist <tml@iki.fi>
Tue, 22 Jun 2010 09:16:14 +0000 (12:16 +0300)
gio/glocalfile.c

index 57dad07..a278f34 100644 (file)
@@ -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)