Merge pull request #31 from xPaw/burn-baby-burn

Remove compatibility stuff from the core
This commit is contained in:
Vincent Herbet
2014-07-27 12:07:58 +02:00
27 changed files with 30 additions and 955 deletions

View File

@ -236,15 +236,6 @@ static stringlist includepaths = {NULL, NULL}; /* directory list for include fi
SC_FUNC stringlist *insert_path(char *path)
{
char *extra_path = malloc(strlen(path) + 16);
strcpy(extra_path, path);
#if defined __linux__ || defined __APPLE__
strcat(extra_path, "/amxmod_compat/");
#elif defined WIN32 || defined _WIN32
strcat(extra_path, "\\amxmod_compat\\");
#endif
insert_string(&includepaths, extra_path);
free(extra_path);
return insert_string(&includepaths,path);
}