From 57de68e8763fbc4cccd8eba22196f93179f8689b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= Date: Mon, 4 Jun 2012 22:14:14 +0200 Subject: [PATCH] libwine: Improve bin directory detection on kFreeBSD and DragonFly BSD. --- libs/wine/config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/wine/config.c b/libs/wine/config.c index 031850b5dc7..349fb7d1e3e 100644 --- a/libs/wine/config.c +++ b/libs/wine/config.c @@ -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