Don't use hardcoded paths on Amiga
Hardcoded paths don't make sense on AmigaOS, AROS and MorphOS.
This commit is contained in:
@@ -88,13 +88,13 @@ void InitSearchPaths (void)
|
||||
AddSubSearchPathFromEnv (CfgDefaultPath, "CC65_HOME", "cfg");
|
||||
|
||||
/* Add some compiled-in search paths if defined at compile time. */
|
||||
#if defined(LD65_LIB) && !defined(_WIN32)
|
||||
#if defined(LD65_LIB) && !defined(_WIN32) && !defined(_AMIGA)
|
||||
AddSearchPath (LibDefaultPath, LD65_LIB);
|
||||
#endif
|
||||
#if defined(LD65_OBJ) && !defined(_WIN32)
|
||||
#if defined(LD65_OBJ) && !defined(_WIN32) && !defined(_AMIGA)
|
||||
AddSearchPath (ObjDefaultPath, LD65_OBJ);
|
||||
#endif
|
||||
#if defined(LD65_CFG) && !defined(_WIN32)
|
||||
#if defined(LD65_CFG) && !defined(_WIN32) && !defined(_AMIGA)
|
||||
AddSearchPath (CfgDefaultPath, LD65_CFG);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user