We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71ef529 commit 955e4d6Copy full SHA for 955e4d6
vm/main.c
@@ -81,7 +81,7 @@ static char *executable_path() {
81
if ( _NSGetExecutablePath(path, &path_len) )
82
return NULL;
83
return path;
84
-#elif defined(NEKO_BSD)
+#elif defined(NEKO_BSD) && defined(KERN_PROC_PATHNAME)
85
int mib[4];
86
mib[0] = CTL_KERN;
87
mib[1] = KERN_PROC;
0 commit comments