mirror of
https://github.com/reactos/wine.git
synced 2025-03-03 02:05:48 +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…
x
Reference in New Issue
Block a user