Added linux compatibility

This commit is contained in:
David Anderson
2005-07-27 17:28:06 +00:00
parent 62cdaf5e10
commit 31436e3ecf
7 changed files with 746 additions and 9 deletions

View File

@ -30,7 +30,9 @@
#if defined PAWNC_DLL
# include "dllmain.c"
#ifndef __linux__
#include "dllmain.c"
#endif
# define MAX_ARGS 100
# if !defined UNUSED_PARAM
@ -40,14 +42,6 @@
static char *argv[MAX_ARGS];
static int argc;
LPSTR dll_skipwhite(LPSTR ptr)
{
assert(ptr!=NULL);
while (*ptr<=' ' && *ptr!='\0')
ptr++;
return ptr;
}
#if PAWN_CELL_SIZE==32
#define EXCOMPILER Compile32
#else