From: Manish Singh Date: Thu, 23 Jun 2005 22:52:49 +0000 (+0000) Subject: g_build_filename_va is only use in the G_OS_WIN32 case, so compile it X-Git-Tag: GLIB_2_7_1~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=20c16cd277538919b5f2eff096b9f912a27594f9;p=platform%2Fupstream%2Fglib.git g_build_filename_va is only use in the G_OS_WIN32 case, so compile it Thu Jun 23 15:52:08 2005 Manish Singh * glib/gfileutils.c: g_build_filename_va is only use in the G_OS_WIN32 case, so compile it conditionally. --- diff --git a/ChangeLog b/ChangeLog index 920ca63..483e581 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Jun 23 15:52:08 2005 Manish Singh + + * glib/gfileutils.c: g_build_filename_va is only use in the G_OS_WIN32 + case, so compile it conditionally. + 2005-06-23 Matthias Clasen * tests/keyfile-test.c (test_group_remove): Don't leak diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 920ca63..483e581 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Thu Jun 23 15:52:08 2005 Manish Singh + + * glib/gfileutils.c: g_build_filename_va is only use in the G_OS_WIN32 + case, so compile it conditionally. + 2005-06-23 Matthias Clasen * tests/keyfile-test.c (test_group_remove): Don't leak diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 920ca63..483e581 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,8 @@ +Thu Jun 23 15:52:08 2005 Manish Singh + + * glib/gfileutils.c: g_build_filename_va is only use in the G_OS_WIN32 + case, so compile it conditionally. + 2005-06-23 Matthias Clasen * tests/keyfile-test.c (test_group_remove): Don't leak diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 920ca63..483e581 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Thu Jun 23 15:52:08 2005 Manish Singh + + * glib/gfileutils.c: g_build_filename_va is only use in the G_OS_WIN32 + case, so compile it conditionally. + 2005-06-23 Matthias Clasen * tests/keyfile-test.c (test_group_remove): Don't leak diff --git a/glib/gfileutils.c b/glib/gfileutils.c index 1be2962..b809b6a 100644 --- a/glib/gfileutils.c +++ b/glib/gfileutils.c @@ -1752,6 +1752,8 @@ g_build_path (const gchar *separator, return str; } +#ifdef G_OS_WIN32 + static gchar * g_build_filename_va (const gchar *first_element, va_list args, @@ -1864,6 +1866,8 @@ g_build_filename_va (const gchar *first_element, } } +#endif + /** * g_build_filenamev: * @args: %NULL-terminated array of strings containing the path elements.