Fixed compilation of the mapcache builder under linux
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10015 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
f48a49e655
commit
4bd5a67388
@ -8,7 +8,8 @@ convert:
|
|||||||
|
|
||||||
mapcache:
|
mapcache:
|
||||||
$(MAKE) -C ../zlib
|
$(MAKE) -C ../zlib
|
||||||
$(CC) -o ../../$@ mapcache.c ../zlib/unz.o
|
$(CC) -c -o grfio.o grfio.c
|
||||||
|
$(CC) -o ../../$@ mapcache.c grfio.o ../zlib/unz.o -lz
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf ../../tools/adduser ../../tools/convert ../../mapcache
|
rm -rf ../../tools/adduser ../../tools/convert ../../mapcache
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#define RETCODE "\r\n"
|
#define RETCODE "\r\n"
|
||||||
|
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
#ifndef __FREEBSD__
|
#ifndef __FREEBSD__
|
||||||
#include <zlib.h>
|
#include <zlib.h>
|
||||||
#endif
|
#endif
|
||||||
|
#define strcmpi strcasecmp
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef unsigned char BYTE;
|
typedef unsigned char BYTE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user