1
0
mirror of https://github.com/cc65/cc65.git synced 2024-10-01 00:57:11 +00:00

Don't add the current directory to the list of search paths. If the main file

is located there, it is added anyway. If the main file is located elsewhere,
we don't want to search in the current directory.


git-svn-id: svn://svn.cc65.org/cc65/trunk@5803 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2012-08-01 21:44:36 +00:00
parent 148363810b
commit 5fe9e2c3b3

View File

@ -6,7 +6,7 @@
/* */
/* */
/* */
/* (C) 2000-2010, Ullrich von Bassewitz */
/* (C) 2000-2012, Ullrich von Bassewitz */
/* Roemerstrasse 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
@ -71,9 +71,6 @@ void InitIncludePaths (void)
SysIncSearchPath = NewSearchPath ();
UsrIncSearchPath = NewSearchPath ();
/* Add the current path to the user search path list */
AddSearchPath (UsrIncSearchPath, "");
/* Add some compiled in search paths if defined at compile time */
#ifdef CC65_INC
AddSearchPath (SysIncSearchPath, CC65_INC);