mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 16:02:20 +00:00
libwine: Improve bin directory detection on kFreeBSD and DragonFly BSD.
This commit is contained in:
parent
7fbf72c400
commit
57de68e876
|
@ -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)));
|
static void fatal_perror( const char *err, ... ) __attribute__((noreturn,format(printf,1,2)));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __linux__
|
#if defined(__linux__) || defined(__FreeBSD_kernel__ )
|
||||||
#define EXE_LINK "/proc/self/exe"
|
#define EXE_LINK "/proc/self/exe"
|
||||||
#elif defined (__FreeBSD__)
|
#elif defined (__FreeBSD__) || defined(__DragonFly__)
|
||||||
#define EXE_LINK "/proc/curproc/file"
|
#define EXE_LINK "/proc/curproc/file"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue