Commit 208b824e authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

libwine: Only define exe_link when needed.

Revision 24b26f8b changed FreeBSD (and DragonFly) not to use /proc any longer. Hence we also do not need the exe_link variable on those two platforms, either. Avoid declaring it there. (This avoids a compiler warning with GCC 12.)
parent 443805b1
......@@ -60,7 +60,7 @@ static void fatal_error( const char *err, ... ) __attribute__((noreturn,format(
#if defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__)
static const char exe_link[] = "/proc/self/exe";
#else
#elif ! defined (__FreeBSD__) && ! defined(__DragonFly__)
static const char exe_link[] = "";
#endif
......
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