mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 02:46:58 +00:00
Fix -Wexpansion-to-defined failure on clang
(failure introduced in previous re-exec commit)
This commit is contained in:
parent
c7b7c9a99d
commit
da7f77a50d
@ -30,7 +30,11 @@
|
||||
#endif
|
||||
|
||||
/* 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
|
||||
* the algorithm that will match - saves a round trip connecting, has little
|
||||
|
Loading…
Reference in New Issue
Block a user