Skip to content
Snippets Groups Projects
Commit 57de68e8 authored by André Zwing's avatar André Zwing Committed by Alexandre Julliard
Browse files

libwine: Improve bin directory detection on kFreeBSD and DragonFly BSD.

parent 7fbf72c4
Branches
Tags
No related merge requests found
......@@ -53,9 +53,9 @@ static void fatal_error( const char *err, ... ) __attribute__((noreturn,format(
static void fatal_perror( const char *err, ... ) __attribute__((noreturn,format(printf,1,2)));
#endif
#ifdef __linux__
#if defined(__linux__) || defined(__FreeBSD_kernel__ )
#define EXE_LINK "/proc/self/exe"
#elif defined (__FreeBSD__)
#elif defined (__FreeBSD__) || defined(__DragonFly__)
#define EXE_LINK "/proc/curproc/file"
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment