diff --git a/sourcepawn/compiler/sc1.c b/sourcepawn/compiler/sc1.c index d605a8c8..6ab861a4 100644 --- a/sourcepawn/compiler/sc1.c +++ b/sourcepawn/compiler/sc1.c @@ -1118,12 +1118,6 @@ static void setconfig(char *root) /* add the default "include" directory */ #if defined __WIN32__ || defined _WIN32 GetModuleFileNameA(NULL,path,_MAX_PATH); - #elif defined LINUX || defined __FreeBSD__ || defined __OpenBSD__ - /* see www.autopackage.org for the BinReloc module */ - br_init_lib(NULL); - ptr=br_find_exe("spcomp"); - strlcpy(path,ptr,sizeof path); - free(ptr); #else if (root!=NULL) strlcpy(path,root,sizeof path); /* path + filename (hopefully) */