1
0
mirror of https://github.com/cc65/cc65.git synced 2025-08-08 22:25:28 +00:00

rename AddSubSearchPathFromWinBin to AddSubSearchPathFromBin

This commit is contained in:
rofl0r
2022-04-27 21:11:01 +00:00
committed by mrdudz
parent 6a5375ace4
commit 6f74a2e9c7
6 changed files with 9 additions and 10 deletions

View File

@@ -80,5 +80,5 @@ void FinishIncludePaths (void)
#endif #endif
/* Add paths relative to the parent directory of the Windows binary. */ /* Add paths relative to the parent directory of the Windows binary. */
AddSubSearchPathFromWinBin (IncSearchPath, "asminc"); AddSubSearchPathFromBin (IncSearchPath, "asminc");
} }

View File

@@ -81,5 +81,5 @@ void FinishIncludePaths (void)
#endif #endif
/* Add paths relative to the parent directory of the Windows binary. */ /* Add paths relative to the parent directory of the Windows binary. */
AddSubSearchPathFromWinBin (SysIncSearchPath, "include"); AddSubSearchPathFromBin (SysIncSearchPath, "include");
} }

View File

@@ -1218,7 +1218,7 @@ static void OptPrintTargetPath (const char* Opt attribute ((unused)),
#if defined(CL65_TGT) && !defined(_WIN32) #if defined(CL65_TGT) && !defined(_WIN32)
AddSearchPath (TargetPaths, CL65_TGT); AddSearchPath (TargetPaths, CL65_TGT);
#endif #endif
AddSubSearchPathFromWinBin (TargetPaths, "target"); AddSubSearchPathFromBin (TargetPaths, "target");
TargetPath = GetSearchPath (TargetPaths, 0); TargetPath = GetSearchPath (TargetPaths, 0);
while (*TargetPath) { while (*TargetPath) {

View File

@@ -274,7 +274,7 @@ static char* GetProgPath(char* pathbuf, char* a0)
#endif #endif
void AddSubSearchPathFromWinBin (SearchPaths* P, const char* SubDir) void AddSubSearchPathFromBin (SearchPaths* P, const char* SubDir)
{ {
/* Windows only: /* Windows only:
** Add a search path from the running binary, adding a subdirectory to ** Add a search path from the running binary, adding a subdirectory to

View File

@@ -75,9 +75,8 @@ void AddSubSearchPathFromEnv (SearchPaths* P, const char* EnvVar, const char* Su
** the environment variable value. ** the environment variable value.
*/ */
void AddSubSearchPathFromWinBin (SearchPaths* P, const char* SubDir); void AddSubSearchPathFromBin (SearchPaths* P, const char* SubDir);
/* Windows only: /* Add a search path from the running binary, adding a subdirectory to
** 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.
*/ */

View File

@@ -99,7 +99,7 @@ void InitSearchPaths (void)
#endif #endif
/* Add paths relative to the parent directory of the Windows binary. */ /* Add paths relative to the parent directory of the Windows binary. */
AddSubSearchPathFromWinBin (LibDefaultPath, "lib"); AddSubSearchPathFromBin (LibDefaultPath, "lib");
AddSubSearchPathFromWinBin (ObjDefaultPath, "lib"); AddSubSearchPathFromBin (ObjDefaultPath, "lib");
AddSubSearchPathFromWinBin (CfgDefaultPath, "cfg"); AddSubSearchPathFromBin (CfgDefaultPath, "cfg");
} }