From be9a68f5b1e78d7e5be21b7553179814c55613fa Mon Sep 17 00:00:00 2001 From: Lance Date: Mon, 27 Mar 2006 13:23:53 +0000 Subject: * 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 --- src/map/chrif.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/map/chrif.c') 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 #include +#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] = { -- cgit v1.2.3-70-g09d2