From ad47f04c947fc6c7f0445f14c14fb147d4d973fa Mon Sep 17 00:00:00 2001 From: Jeff Morriss Date: Tue, 7 Dec 2010 20:24:57 +0000 Subject: Move getenv_utf8() to wsutil. svn path=/trunk/; revision=35148 --- wsutil/file_util.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'wsutil/file_util.h') diff --git a/wsutil/file_util.h b/wsutil/file_util.h index 798cea9261..4225fe5933 100644 --- a/wsutil/file_util.h +++ b/wsutil/file_util.h @@ -123,6 +123,12 @@ void *ws_load_library(gchar *library_name); * @return A handle to the DLL if found, NULL on failure. */ GModule *ws_module_open(gchar *module_name, GModuleFlags flags); + +/* + * utf8 version of getenv, needed to get win32 filename paths + */ +extern char *getenv_utf8(const char *varname); + #else /* _WIN32 */ #define ws_read read #define ws_write write -- cgit v1.2.3