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

This commit is contained in:
André Hentschel 2012-06-04 22:14:14 +02:00 committed by Alexandre Julliard
parent 7fbf72c400
commit 57de68e876

View file

@ -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