Unix: add FreeBSD compatibility for FindLocalResourceDir().
This commit is contained in:
parent
374d1b5e7f
commit
435682729e
|
@ -123,7 +123,7 @@ static const std::string &FindLocalResourceDir() {
|
||||||
selfPath = "/proc/self/exe";
|
selfPath = "/proc/self/exe";
|
||||||
#elif defined(__NetBSD__)
|
#elif defined(__NetBSD__)
|
||||||
selfPath = "/proc/curproc/exe"
|
selfPath = "/proc/curproc/exe"
|
||||||
#elif defined(__OpenBSD__)
|
#elif defined(__OpenBSD__) || defined(__FreeBSD__)
|
||||||
selfPath = "/proc/curproc/file";
|
selfPath = "/proc/curproc/file";
|
||||||
#elif defined(__APPLE__)
|
#elif defined(__APPLE__)
|
||||||
CFURLRef cfUrl =
|
CFURLRef cfUrl =
|
||||||
|
|
Loading…
Reference in New Issue
Block a user