Ver código fonte

* GCC on Cygwin still complaining, resorted to including limits.h in malloc.h

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5770 54d463be-8e91-2dee-dedb-b68131a5f0ec
Lance 19 anos atrás
pai
commit
5d286a9b08
6 arquivos alterados com 3 adições e 4 exclusões
  1. 1 0
      Changelog-Trunk.txt
  2. 2 0
      src/common/malloc.h
  3. 0 1
      src/map/atcommand.c
  4. 0 1
      src/map/charcommand.c
  5. 0 1
      src/map/chrif.c
  6. 0 1
      src/map/clif.c

+ 1 - 0
Changelog-Trunk.txt

@@ -6,6 +6,7 @@ GOES INTO TRUNK AND WILL BE MERGED INTO STABLE BY VALARIS AND WIZPUTER. -- VALAR
 
 
 2006/03/26
+	* GCC on Cygwin still complaining, resorted to including limits.h in malloc.h [Lance]
 	* Refixed the fix with a constant list for Win32 users - limits.h (imported from MSVC) [Lance]
 	* Fixed a problem in chrif.c where USHRT_MAX was undefined. [Codemaster]
 	* Added jAthena's new start and athena-start shell scripts. [Lance]

+ 2 - 0
src/common/malloc.h

@@ -15,6 +15,8 @@
 #endif
 #define ALC_MARK __FILE__, __LINE__, __func__
 
+#include "limits.h"
+
 //////////////////////////////////////////////////////////////////////
 // Whether to use Athena's built-in Memory Manager (enabled by default)
 // To disable just comment the following line

+ 0 - 1
src/map/atcommand.c

@@ -13,7 +13,6 @@
 #include "../common/mmo.h"
 #include "../common/core.h"
 #include "../common/showmsg.h"
-#include "../common/limits.h"
 
 #include "log.h"
 #include "clif.h"

+ 0 - 1
src/map/charcommand.c

@@ -10,7 +10,6 @@
 #include "../common/socket.h"
 #include "../common/timer.h"
 #include "../common/nullpo.h"
-#include "../common/limits.h"
 
 #include "log.h"
 #include "clif.h"

+ 0 - 1
src/map/chrif.c

@@ -14,7 +14,6 @@
 #endif
 #include <sys/types.h>
 #include <time.h>
-#include "../common/limits.h"
 
 #include "../common/malloc.h"
 #include "socket.h"

+ 0 - 1
src/map/clif.c

@@ -27,7 +27,6 @@
 #include "../common/version.h"
 #include "../common/nullpo.h"
 #include "../common/showmsg.h"
-#include "../common/limits.h"
 
 #include "map.h"
 #include "chrif.h"