=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: libwine: Improve bin directory detection on kFreeBSD and DragonFly BSD.
Alexandre Julliard
julliard at winehq.org
Tue Jun 5 14:46:54 CDT 2012
Module: wine
Branch: master
Commit: 57de68e8763fbc4cccd8eba22196f93179f8689b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=57de68e8763fbc4cccd8eba22196f93179f8689b
Author: André Hentschel <nerv at dawncrow.de>
Date: Mon Jun 4 22:14:14 2012 +0200
libwine: Improve bin directory detection on kFreeBSD and DragonFly BSD.
---
libs/wine/config.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libs/wine/config.c b/libs/wine/config.c
index 031850b..349fb7d 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
More information about the wine-cvs
mailing list