Skip to content

Commit 1d5bfe1

Browse files
authored
Don't try to get executable path on FreeBSD
/proc is optional on FreeBSD and executable path is not useful for any purpose
1 parent d3cdbc5 commit 1d5bfe1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib/utility/os.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ namespace os
104104
return exe.parent_path();
105105
#elif __amigaos4__
106106
return "";
107+
#elif defined(__FreeBS__)
108+
return "";
107109
#else
108110
// determine full path to application
109111
// this needs /proc support that should be available

0 commit comments

Comments
 (0)