summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-27 13:23:53 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-27 13:23:53 +0000
commitbe9a68f5b1e78d7e5be21b7553179814c55613fa (patch)
tree357edbe5bb82f3ed082502e79101d0d1999ece07 /src/map
parent1601db7f82d8eb49526c913ef1857185e32d2df2 (diff)
downloadhercules-be9a68f5b1e78d7e5be21b7553179814c55613fa.tar.gz
hercules-be9a68f5b1e78d7e5be21b7553179814c55613fa.tar.bz2
hercules-be9a68f5b1e78d7e5be21b7553179814c55613fa.tar.xz
hercules-be9a68f5b1e78d7e5be21b7553179814c55613fa.zip
* Refixed the fix with a constant list for Win32 users - limits.h (imported from MSVC)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5769 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/atcommand.c1
-rw-r--r--src/map/charcommand.c1
-rw-r--r--src/map/chrif.c5
-rw-r--r--src/map/clif.c1
4 files changed, 4 insertions, 4 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 9d4bbe155..4f1776d62 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -13,6 +13,7 @@
#include "../common/mmo.h"
#include "../common/core.h"
#include "../common/showmsg.h"
+#include "../common/limits.h"
#include "log.h"
#include "clif.h"
diff --git a/src/map/charcommand.c b/src/map/charcommand.c
index 27e92029a..4e9b8b542 100644
--- a/src/map/charcommand.c
+++ b/src/map/charcommand.c
@@ -10,6 +10,7 @@
#include "../common/socket.h"
#include "../common/timer.h"
#include "../common/nullpo.h"
+#include "../common/limits.h"
#include "log.h"
#include "clif.h"
diff --git a/src/map/chrif.c b/src/map/chrif.c
index 174bb5c27..33fb309ac 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -14,6 +14,7 @@
#endif
#include <sys/types.h>
#include <time.h>
+#include "../common/limits.h"
#include "../common/malloc.h"
#include "socket.h"
@@ -35,10 +36,6 @@
//Used Packets: U->2af8
//Free Packets: F->2af8
-#ifndef USHRT_MAX
- #define USHRT_MAX 65535
-#endif
-
struct dbt *auth_db;
static const int packet_len_table[0x3d] = {
diff --git a/src/map/clif.c b/src/map/clif.c
index 1e7f6baa9..2e8d34c46 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -27,6 +27,7 @@
#include "../common/version.h"
#include "../common/nullpo.h"
#include "../common/showmsg.h"
+#include "../common/limits.h"
#include "map.h"
#include "chrif.h"