summaryrefslogtreecommitdiff
path: root/src/map/chrif.c
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/chrif.c
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/chrif.c')
-rw-r--r--src/map/chrif.c5
1 files changed, 1 insertions, 4 deletions
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] = {