52 |
#include <iconv.h> |
#include <iconv.h> |
53 |
#endif |
#endif |
54 |
|
|
55 |
|
#ifdef HAVE_LANGINFO_CODESET |
56 |
#include <langinfo.h> |
#include <langinfo.h> |
57 |
|
#endif |
58 |
|
|
59 |
#include "weechat.h" |
#include "weechat.h" |
60 |
#include "weeconfig.h" |
#include "weeconfig.h" |
741 |
textdomain (PACKAGE); |
textdomain (PACKAGE); |
742 |
#endif |
#endif |
743 |
|
|
744 |
|
#ifdef HAVE_LANGINFO_CODESET |
745 |
local_charset = strdup (nl_langinfo (CODESET)); |
local_charset = strdup (nl_langinfo (CODESET)); |
746 |
|
#endif |
747 |
|
|
748 |
signal (SIGINT, my_sigint); /* ignore SIGINT signal */ |
signal (SIGINT, my_sigint); /* ignore SIGINT signal */ |
749 |
signal (SIGSEGV, my_sigsegv); /* crash dump when SIGSEGV is received */ |
signal (SIGSEGV, my_sigsegv); /* crash dump when SIGSEGV is received */ |