summaryrefslogtreecommitdiff
path: root/src/map/map.h
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-09 00:46:55 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-09 00:46:55 +0000
commitcc716ca00420c23bdb02831f8fc205d4588e1f75 (patch)
treeb7f3182f6e59f705eff9ee14ad35075fa52acf80 /src/map/map.h
parent4ae1b3c2a335d95a5425ecf5c19c5be2ab21e13a (diff)
downloadhercules-cc716ca00420c23bdb02831f8fc205d4588e1f75.tar.gz
hercules-cc716ca00420c23bdb02831f8fc205d4588e1f75.tar.bz2
hercules-cc716ca00420c23bdb02831f8fc205d4588e1f75.tar.xz
hercules-cc716ca00420c23bdb02831f8fc205d4588e1f75.zip
* Played around with MinGW a bit today...
- adjusted code so that it handles mingw-specific compatibility problems - adjusted the makefile, mingw is not a subset of cygwin * As an experiment Corrected many /W4 warnings on the txt login server git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10192 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.h')
-rw-r--r--src/map/map.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/map/map.h b/src/map/map.h
index 468f7a7d6..bf748df3b 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -828,8 +828,8 @@ struct npc_data {
short n;
short class_;
short speed;
- unsigned char name[NAME_LENGTH];
- unsigned char exname[NAME_LENGTH];
+ char name[NAME_LENGTH];
+ char exname[NAME_LENGTH];
int chat_id;
unsigned int next_walktime;
@@ -1243,8 +1243,8 @@ enum {
struct chat_data {
struct block_list bl;
- unsigned char pass[8+1]; /* password */
- unsigned char title[60+1]; /* room title */
+ char pass[8+1]; /* password */
+ char title[60+1]; /* room title */
unsigned char limit; /* join limit */
unsigned char trigger;
unsigned char users; /* current users */
@@ -1405,10 +1405,8 @@ extern char *map_server_dns;
#ifndef TXT_ONLY
-// MySQL
-#ifdef __WIN32
-#include <my_global.h>
-#include <my_sys.h>
+#ifdef _WIN32
+#include <windows.h> // SOCKET
#endif
#include <mysql.h>