summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-12-13 20:57:21 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-12-13 20:57:21 +0000
commitdbd7ea83d57367a8cfbb86516c957f11da883b28 (patch)
treea8aea52cdb4da78974a6854201a7b066e01c6d6e /src/plugins
parentcbb3e95396602bf721dd8dc8a37660de29f42c87 (diff)
downloadhercules-dbd7ea83d57367a8cfbb86516c957f11da883b28.tar.gz
hercules-dbd7ea83d57367a8cfbb86516c957f11da883b28.tar.bz2
hercules-dbd7ea83d57367a8cfbb86516c957f11da883b28.tar.xz
hercules-dbd7ea83d57367a8cfbb86516c957f11da883b28.zip
* Fixed plugin 'sig' not being compilable on Mac OS X, due to different return value type of 'strsignal' (bugreport:4637).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14591 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/sig.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/sig.c b/src/plugins/sig.c
index 1872d48ff..a9489b019 100644
--- a/src/plugins/sig.c
+++ b/src/plugins/sig.c
@@ -52,7 +52,11 @@ unsigned long (*getuptime)();
char *server_name;
int crash_flag = 0;
+#ifndef __APPLE__
extern const char *strsignal(int);
+#else
+extern char *strsignal(int);
+#endif
int sig_final ();
// by Gabuzomeu