added amigaos4 compilation support
This commit is contained in:
parent
0abec3e163
commit
bffdf3432e
2 changed files with 6 additions and 1 deletions
3
configure
vendored
3
configure
vendored
|
@ -710,7 +710,8 @@ case $_host_os in
|
||||||
DEFINES="$DEFINES -DUNIX -DSYSTEM_NOT_SUPPORTING_D_TYPE"
|
DEFINES="$DEFINES -DUNIX -DSYSTEM_NOT_SUPPORTING_D_TYPE"
|
||||||
;;
|
;;
|
||||||
amigaos*)
|
amigaos*)
|
||||||
# TODO: anything to be added here?
|
DEFINES="$DEFINES -DMINIGL"
|
||||||
|
LIBS="$LIBS -lGL -lGLU"
|
||||||
;;
|
;;
|
||||||
# given this is a shell script assume some type of unix
|
# given this is a shell script assume some type of unix
|
||||||
*)
|
*)
|
||||||
|
|
|
@ -37,6 +37,8 @@ Registry::Registry() : _dirty(false) {
|
||||||
#ifndef __DC__
|
#ifndef __DC__
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
std::string filename = "residual.ini";
|
std::string filename = "residual.ini";
|
||||||
|
#elif defined __amigaos4__
|
||||||
|
std::string filename = "/PROGDIR/residual.ini";
|
||||||
#else
|
#else
|
||||||
std::string filename = std::string(std::getenv("HOME")) + "/.residualrc";
|
std::string filename = std::string(std::getenv("HOME")) + "/.residualrc";
|
||||||
#endif
|
#endif
|
||||||
|
@ -89,6 +91,8 @@ void Registry::save() {
|
||||||
#ifndef __DC__
|
#ifndef __DC__
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
std::string filename = "residual.ini";
|
std::string filename = "residual.ini";
|
||||||
|
#elif defined __amigaos4__
|
||||||
|
std::string filename = "/PROGDIR/residual.ini";
|
||||||
#else
|
#else
|
||||||
std::string filename = std::string(std::getenv("HOME")) + "/.residualrc";
|
std::string filename = std::string(std::getenv("HOME")) + "/.residualrc";
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue