summary refs log tree commit diff stats
path: root/src/common
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-07-14 20:46:42 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-07-14 20:46:42 +0200
commitc80cb47e5cf49c7aa0b162fc509ab08fd1b17e8a (patch)
treef16850554ffab9559826c96e728a0297777e7659 /src/common
parenta5cc3b15d7eb98c25ff58063079b969ad3b56e3f (diff)
Update XChat to r1516
Diffstat (limited to 'src/common')
-rw-r--r--src/common/xchat.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/common/xchat.h b/src/common/xchat.h
index 6ed5ebe2..329872d0 100644
--- a/src/common/xchat.h
+++ b/src/common/xchat.h
@@ -586,12 +586,7 @@ struct popup
 /* CL: get a random int in the range [0..n-1]. DON'T use rand() % n, it gives terrible results. */
 #define RAND_INT(n) ((int)(rand() / (RAND_MAX + 1.0) * (n)))
 
-#if defined(WIN32) && GLIB_CHECK_VERSION(2,4,0)
 #define xchat_filename_from_utf8 g_locale_from_utf8
 #define xchat_filename_to_utf8 g_locale_to_utf8
-#else
-#define xchat_filename_from_utf8 g_filename_from_utf8
-#define xchat_filename_to_utf8 g_filename_to_utf8
-#endif
 
 #endif