fix osx compile issues
This commit is contained in:
parent
25cdffc734
commit
51b0429c24
|
@ -1,6 +1,5 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <malloc.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include <zlib.h>
|
||||
|
@ -9,6 +8,7 @@
|
|||
#include <map>
|
||||
#include <string>
|
||||
#include <algorithm>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef __linux
|
||||
#include <unistd.h>
|
||||
|
@ -16,7 +16,6 @@
|
|||
#include <sys/wait.h>
|
||||
#endif
|
||||
|
||||
|
||||
extern "C"
|
||||
{
|
||||
#include <lua.h>
|
||||
|
@ -47,7 +46,7 @@ extern "C"
|
|||
#define FALSE 0
|
||||
#endif
|
||||
|
||||
#ifdef __unix__
|
||||
#ifndef _MSC_VER
|
||||
#define stricmp strcasecmp
|
||||
#define strnicmp strncasecmp
|
||||
|
||||
|
|
Loading…
Reference in New Issue