Global (GNU): code cleanups

This commit is contained in:
Carter Li
2025-08-24 19:35:33 +08:00
parent 82a1eaf276
commit 1d32344cf7
6 changed files with 7 additions and 9 deletions
+1 -1
View File
@@ -351,7 +351,7 @@ static const char* getFromProcesses(FFDisplayServerResult* result)
break;
}
}
#elif __linux__
#elif __linux__ || __GNU__
FF_AUTO_CLOSE_DIR DIR* procdir = opendir("/proc");
if(procdir == NULL)
return "opendir(\"/proc\") failed";