fixed compiler not getting includes right on linux
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40400
This commit is contained in:
parent
8f64370954
commit
8cea528978
@ -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) */
|
||||
|
Loading…
Reference in New Issue
Block a user