1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-02 07:46:38 +02:00

Changes for Mac OS X platform (now ok)

This commit is contained in:
Sebastien Helleu
2005-04-30 10:29:54 +00:00
parent 40d02fdffd
commit 8a3d30b03a
10 changed files with 64 additions and 12 deletions
+4
View File
@@ -52,7 +52,9 @@
#include <iconv.h>
#endif
#ifdef HAVE_LANGINFO_CODESET
#include <langinfo.h>
#endif
#include "weechat.h"
#include "weeconfig.h"
@@ -739,7 +741,9 @@ main (int argc, char *argv[])
textdomain (PACKAGE);
#endif
#ifdef HAVE_LANGINFO_CODESET
local_charset = strdup (nl_langinfo (CODESET));
#endif
signal (SIGINT, my_sigint); /* ignore SIGINT signal */
signal (SIGSEGV, my_sigsegv); /* crash dump when SIGSEGV is received */
+5 -1
View File
@@ -30,7 +30,11 @@
#if defined(ENABLE_NLS) && !defined(_)
#include <locale.h>
#include <libintl.h>
#ifdef HAVE_LIBINTL_H
#include <libintl.h>
#else
#include "../../intl/libintl.h"
#endif
#define _(x) gettext(x)
#ifdef gettext_noop
#define N_(string) gettext_noop (string)