summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaakko Keranen <jaakko.keranen@iki.fi>2020-11-01 13:34:46 +0200
committerJaakko Keranen <jaakko.keranen@iki.fi>2020-11-01 13:34:46 +0200
commitf9d41c7cf0f2ab832a1858c640ee703ed062a134 (patch)
treeed26d85d5ccaead360ebb4ef14cc1b9a380dc104 /src
parent87ac5f3ec193682372c0143bab81dceacf83701f (diff)
App: Compiling on "Other" platforms
Testing on OpenBSD.
Diffstat (limited to 'src')
-rw-r--r--src/app.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app.c b/src/app.c
index 311a88bb..a6632811 100644
--- a/src/app.c
+++ b/src/app.c
@@ -74,7 +74,7 @@ static const char *dataDir_App_ = "~/Library/Application Support/fi.skyjake.Lagr
74#define EMB_BIN "../resources.binary" 74#define EMB_BIN "../resources.binary"
75static const char *dataDir_App_ = "~/AppData/Roaming/fi.skyjake.Lagrange"; 75static const char *dataDir_App_ = "~/AppData/Roaming/fi.skyjake.Lagrange";
76#endif 76#endif
77#if defined (iPlatformLinux) 77#if defined (iPlatformLinux) || defined (iPlatformOther)
78#define EMB_BIN "../../share/lagrange/resources.binary" 78#define EMB_BIN "../../share/lagrange/resources.binary"
79static const char *dataDir_App_ = "~/.config/lagrange"; 79static const char *dataDir_App_ = "~/.config/lagrange";
80#endif 80#endif
@@ -1221,7 +1221,7 @@ void openInDefaultBrowser_App(const iString *url) {
1221 setArguments_Process(proc, 1221 setArguments_Process(proc,
1222#if defined (iPlatformApple) 1222#if defined (iPlatformApple)
1223 iClob(newStringsCStr_StringList("/usr/bin/open", cstr_String(url), NULL)) 1223 iClob(newStringsCStr_StringList("/usr/bin/open", cstr_String(url), NULL))
1224#elif defined (iPlatformLinux) 1224#elif defined (iPlatformLinux) || defined (iPlatformOther)
1225 iClob(newStringsCStr_StringList("/usr/bin/x-www-browser", cstr_String(url), NULL)) 1225 iClob(newStringsCStr_StringList("/usr/bin/x-www-browser", cstr_String(url), NULL))
1226#elif defined (iPlatformMsys) 1226#elif defined (iPlatformMsys)
1227 iClob(newStringsCStr_StringList( 1227 iClob(newStringsCStr_StringList(