mirror of
https://github.com/cc65/cc65.git
synced 2024-06-02 04:41:35 +00:00
Adjust comments
This commit is contained in:
parent
20dd6fd872
commit
71cec58d86
|
@ -263,11 +263,14 @@ static char* GetProgPath(char* pathbuf, char* a0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void AddSubSearchPathFromBin (SearchPaths* P, const char* SubDir)
|
void AddSubSearchPathFromBin (SearchPaths* P, const char* SubDir)
|
||||||
{
|
/* Add a search path from the running binary, adding a subdirectory to
|
||||||
/* Windows only:
|
|
||||||
** Add a search path from the running binary, adding a subdirectory to
|
|
||||||
** the parent directory of the directory containing the binary.
|
** the parent directory of the directory containing the binary.
|
||||||
|
**
|
||||||
|
** currently this will work on POSIX systems and on Windows. Should
|
||||||
|
** we run into build errors on systems that are neither, we must add
|
||||||
|
** another exception below.
|
||||||
*/
|
*/
|
||||||
|
{
|
||||||
char* Ptr;
|
char* Ptr;
|
||||||
char Dir[PATH_MAX];
|
char Dir[PATH_MAX];
|
||||||
|
|
||||||
|
@ -277,7 +280,7 @@ void AddSubSearchPathFromBin (SearchPaths* P, const char* SubDir)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else /* POSIX */
|
||||||
|
|
||||||
GetProgPath(Dir, ArgVec[0]);
|
GetProgPath(Dir, ArgVec[0]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user