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 57dad076309b4e1bb52efcb8830f8024642c36f7..a278f34f96dbbd8ccde0ca5f0f48140a8167877d 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)