summaryrefslogtreecommitdiff
path: root/navit/util.h
diff options
context:
space:
mode:
authorhorwitz <horwitz@ffa7fe5e-494d-0410-b361-a75ebd5db220>2009-05-14 06:44:12 +0000
committerhorwitz <horwitz@ffa7fe5e-494d-0410-b361-a75ebd5db220>2009-05-14 06:44:12 +0000
commit9f5f80bae8111ccbd7d89a2e36c5dee5f7b18f45 (patch)
tree34038aed5c3220a42756ee098babfe2456a1fe7f /navit/util.h
parent9a07f047f61207934dda3d77f5cb5f363bb33a73 (diff)
downloadnavit-9f5f80bae8111ccbd7d89a2e36c5dee5f7b18f45.tar.gz
Fix:Win32:Clean up Win32 gui, remove duplicate of win32_gui.h and make gui_win32 work again.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2269 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/util.h')
-rw-r--r--navit/util.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/navit/util.h b/navit/util.h
index 419510184..3dd9447ba 100644
--- a/navit/util.h
+++ b/navit/util.h
@@ -27,6 +27,13 @@ void strtolower(char *dest, const char *src);
GList * g_hash_to_list(GHashTable *h);
GList * g_hash_to_list_keys(GHashTable *h);
gchar * g_strconcat_printf(gchar *buffer, gchar *fmt, ...);
+#if defined(_WIN32) || defined(__CEGCC__) || defined (__APPLE__)
+#if defined(_UNICODE)
+wchar_t* newSysString(const char *toconvert);
+#else
+char * newSysString(const char *toconvert);
+#endif
+#endif
unsigned int iso8601_to_secs(char *iso8601);
#endif