summaryrefslogtreecommitdiff
path: root/glib/gfileutils.h
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2012-11-15 12:24:57 -0500
committerDan Winship <danw@gnome.org>2012-11-15 14:19:05 -0500
commit08f4f92fedff4821b1cdbab1763f5e3df59ce458 (patch)
tree833fbeb0349991842dd161e057589ab9683f8382 /glib/gfileutils.h
parentc2acbc018269a052eb7546950088a0860e3b1545 (diff)
downloadglib-08f4f92fedff4821b1cdbab1763f5e3df59ce458.tar.gz
win32: add gwin32compat.h, for utf8-renaming compatibility defines
To avoid -Wmissing-prototype warnings, we need to prototype both the original and the _utf8 versions of all of the functions that have had _utf8-renaming on Windows. But duplicating all the prototypes is ugly, so rather than doing them "in-place", move them all to a new header file just for that. https://bugzilla.gnome.org/show_bug.cgi?id=688109
Diffstat (limited to 'glib/gfileutils.h')
-rw-r--r--glib/gfileutils.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/glib/gfileutils.h b/glib/gfileutils.h
index 7c2eb1ddb..2a86a92fb 100644
--- a/glib/gfileutils.h
+++ b/glib/gfileutils.h
@@ -77,15 +77,6 @@ GQuark g_file_error_quark (void);
/* So other code can generate a GFileError */
GFileError g_file_error_from_errno (gint err_no);
-#ifndef __GTK_DOC_IGNORE__
-#ifdef G_OS_WIN32
-#define g_file_test g_file_test_utf8
-#define g_file_get_contents g_file_get_contents_utf8
-#define g_mkstemp g_mkstemp_utf8
-#define g_file_open_tmp g_file_open_tmp_utf8
-#endif
-#endif
-
gboolean g_file_test (const gchar *filename,
GFileTest test);
gboolean g_file_get_contents (const gchar *filename,
@@ -164,12 +155,6 @@ const gchar *g_basename (const gchar *file_name);
#define g_dirname g_path_get_dirname
#endif
-#ifndef __GTK_DOC_IGNORE__
-#ifdef G_OS_WIN32
-#define g_get_current_dir g_get_current_dir_utf8
-#endif
-#endif
-
gchar *g_get_current_dir (void);
gchar *g_path_get_basename (const gchar *file_name) G_GNUC_MALLOC;
gchar *g_path_get_dirname (const gchar *file_name) G_GNUC_MALLOC;