added amigaos4 compilation support

This commit is contained in:
Pawel Kolodziejski 2008-07-13 22:31:44 +00:00
parent 0abec3e163
commit bffdf3432e
2 changed files with 6 additions and 1 deletions

3
configure vendored
View file

@ -710,7 +710,8 @@ case $_host_os in
DEFINES="$DEFINES -DUNIX -DSYSTEM_NOT_SUPPORTING_D_TYPE"
;;
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
*)

View file

@ -37,6 +37,8 @@ Registry::Registry() : _dirty(false) {
#ifndef __DC__
#ifdef WIN32
std::string filename = "residual.ini";
#elif defined __amigaos4__
std::string filename = "/PROGDIR/residual.ini";
#else
std::string filename = std::string(std::getenv("HOME")) + "/.residualrc";
#endif
@ -89,6 +91,8 @@ void Registry::save() {
#ifndef __DC__
#ifdef WIN32
std::string filename = "residual.ini";
#elif defined __amigaos4__
std::string filename = "/PROGDIR/residual.ini";
#else
std::string filename = std::string(std::getenv("HOME")) + "/.residualrc";
#endif