Fix -Wexpansion-to-defined failure on clang

(failure introduced in previous re-exec commit)
This commit is contained in:
Matt Johnston 2022-01-30 10:23:06 +08:00
parent c7b7c9a99d
commit da7f77a50d

View File

@ -30,7 +30,11 @@
#endif #endif
/* Would probably work on freebsd but hasn't been tested */ /* Would probably work on freebsd but hasn't been tested */
#define DROPBEAR_DO_REEXEC (defined(HAVE_FEXECVE) && DROPBEAR_REEXEC && defined(__linux__)) #if defined(HAVE_FEXECVE) && DROPBEAR_REEXEC && defined(__linux__)
#define DROPBEAR_DO_REEXEC 1
#else
#define DROPBEAR_DO_REEXEC 0
#endif
/* A client should try and send an initial key exchange packet guessing /* A client should try and send an initial key exchange packet guessing
* the algorithm that will match - saves a round trip connecting, has little * the algorithm that will match - saves a round trip connecting, has little