소스 검색

* Fixed plugin 'sig' not being compilable on Mac OS X, due to different return value type of 'strsignal' (bugreport:4637).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14591 54d463be-8e91-2dee-dedb-b68131a5f0ec
ai4rei 14 년 전
부모
커밋
af9699058d
2개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      Changelog-Trunk.txt
  2. 4 0
      src/plugins/sig.c

+ 2 - 0
Changelog-Trunk.txt

@@ -1,5 +1,7 @@
 Date	Added
 
+2010/12/13
+	* Fixed plugin 'sig' not being compilable on Mac OS X, due to different return value type of 'strsignal' (bugreport:4637). [Ai4rei]
 2010/12/12
 	* Fixed homunculus_autoloot not working with skill/item granted drops and loot (bugreport:4452, since r12203). [Ai4rei]
 	* Fixed killed monsters were assumed to be killed by homunculus only, if no damage log entries were elligible for exp distribution, even when no homunculus took part in damage dealing (bugreport:4452, since r12203). [Ai4rei]

+ 4 - 0
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