[glib] Bypass a few functions not used on Windows when compiling for Windows
- From: Tor Lillqvist <tml src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Bypass a few functions not used on Windows when compiling for Windows
- Date: Tue, 22 Jun 2010 09:43:24 +0000 (UTC)
commit 2e842490826644210bc5d2df2df8092597b3f708
Author: Tor Lillqvist <tml iki fi>
Date: Tue Jun 22 12:10:34 2010 +0300
Bypass a few functions not used on Windows when compiling for Windows
gio/glocalfile.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]