Commit 57de68e8 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

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

parent 7fbf72c4
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment