Skip to content

Commit

Permalink
Don't try to get executable path on FreeBSD
Browse files Browse the repository at this point in the history
/proc is optional on FreeBSD and executable path is not useful for any purpose
  • Loading branch information
AMDmi3 committed Sep 27, 2023
1 parent d3cdbc5 commit 1d5bfe1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/utility/os.cpp
Expand Up @@ -104,6 +104,8 @@ namespace os
return exe.parent_path();
#elif __amigaos4__
return "";
#elif defined(__FreeBS__)
return "";
#else
// determine full path to application
// this needs /proc support that should be available
Expand Down

0 comments on commit 1d5bfe1

Please sign in to comment.