diff options
author | codemaster <codemaster@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-27 10:20:26 +0000 |
---|---|---|
committer | codemaster <codemaster@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-27 10:20:26 +0000 |
commit | 97f98af43fec1283e80260da284a31fa0e67572f (patch) | |
tree | d7ab3b2534a2b4314b211d48358d40dbc137cf50 /src | |
parent | 6441bc7fe9d6f9f70bba90258cf753ebf92dc7e5 (diff) | |
download | hercules-97f98af43fec1283e80260da284a31fa0e67572f.tar.gz hercules-97f98af43fec1283e80260da284a31fa0e67572f.tar.bz2 hercules-97f98af43fec1283e80260da284a31fa0e67572f.tar.xz hercules-97f98af43fec1283e80260da284a31fa0e67572f.zip |
Fixed a problem in chrif.c where USHRT_MAX was undefined. [Codemaster]
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5766 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r-- | src/map/chrif.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c index 3a11222fb..174bb5c27 100644 --- a/src/map/chrif.c +++ b/src/map/chrif.c @@ -35,6 +35,10 @@ //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] = {
|