Browse Source

cleanup compile warning

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1360 54d463be-8e91-2dee-dedb-b68131a5f0ec
amber 20 năm trước cách đây
mục cha
commit
3cff86b8b8
2 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 2 0
      Changelog-SVN.txt
  2. 2 0
      src/map/map.h

+ 2 - 0
Changelog-SVN.txt

@@ -2,6 +2,8 @@
 Date	Added
 
 03/31
+        * Removed some #include's causing warnings on some platforms
+          [SVN 1360: MouseJstr]
 	* Fixed a bug with InitTimer/StopTimer, thanks to ilpalazzo-sama
 	* Set 'undead_detect_type' to 0 by default, thanks to Dino9021
 	* Fixed Enchant Poison / Deadly Poison having too high poisoning chance

+ 2 - 0
src/map/map.h

@@ -816,8 +816,10 @@ extern char *GRF_PATH_FILENAME;
 #ifndef TXT_ONLY
 
 // MySQL
+#ifdef __WIN32
 #include <my_global.h>
 #include <my_sys.h>
+#endif
 #include <mysql.h>
 
 void char_online_check(void); // [Valaris]