File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 2222 #define WIN_EXTLIB
2323 #define LIB_EXT ".dll"
2424 #define DEFAULT_PATH "c:/sbasic/lib"
25- #elif defined(__linux__ ) && defined(_UnixOS )
25+ #elif defined(__linux__ ) || defined( __midipix__ ) && defined(_UnixOS )
2626 #include <dlfcn.h>
2727 #define LNX_EXTLIB
2828 #define LIB_EXT ".so"
Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ void setupAppPath(const char *path) {
249249 strlcpy (g_appPath, cwd, sizeof (g_appPath));
250250 strlcat (g_appPath, " /" , sizeof (g_appPath));
251251 strlcat (g_appPath, path, sizeof (g_appPath));
252- #if defined(__linux__)
252+ #if defined(__linux__) || defined(__midipix__)
253253 if (access (g_appPath, X_OK) != 0 ) {
254254 // launched via PATH, retrieve full path
255255 ssize_t len = ::readlink (" /proc/self/exe" , g_appPath, sizeof (g_appPath));
You can’t perform that action at this time.
0 commit comments