mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-17 11:10:18 +00:00
Add these back, removed with XChat r1516 by the GTK check cleanup
This commit is contained in:
@@ -586,7 +586,12 @@ struct popup
|
|||||||
/* CL: get a random int in the range [0..n-1]. DON'T use rand() % n, it gives terrible results. */
|
/* 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)))
|
#define RAND_INT(n) ((int)(rand() / (RAND_MAX + 1.0) * (n)))
|
||||||
|
|
||||||
|
#ifdef WIN32
|
||||||
#define xchat_filename_from_utf8 g_locale_from_utf8
|
#define xchat_filename_from_utf8 g_locale_from_utf8
|
||||||
#define xchat_filename_to_utf8 g_locale_to_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
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user