Commit 896292a7 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

libwine: Like Linux, NetBSD has /proc/self/exe.

parent 728b6fc5
......@@ -61,7 +61,7 @@ static void fatal_error( const char *err, ... ) __attribute__((noreturn,format(
static void fatal_perror( const char *err, ... ) __attribute__((noreturn,format(printf,1,2)));
#endif
#if defined(__linux__) || defined(__FreeBSD_kernel__ )
#if defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__)
static const char exe_link[] = "/proc/self/exe";
#elif defined (__FreeBSD__) || defined(__DragonFly__)
static const char exe_link[] = "/proc/curproc/file";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment