comparison sysoptions.h @ 1862:6f265a35159a

Fix -Wexpansion-to-defined failure on clang (failure introduced in previous re-exec commit)
author Matt Johnston <matt@ucc.asn.au>
date Sun, 30 Jan 2022 10:23:06 +0800
parents 2b3a8026a6ce
children 13cb8cc1b0e4
comparison
equal deleted inserted replaced
1861:2b3a8026a6ce 1862:6f265a35159a
28 #if !(NON_INETD_MODE || INETD_MODE) 28 #if !(NON_INETD_MODE || INETD_MODE)
29 #error "NON_INETD_MODE or INETD_MODE (or both) must be enabled." 29 #error "NON_INETD_MODE or INETD_MODE (or both) must be enabled."
30 #endif 30 #endif
31 31
32 /* Would probably work on freebsd but hasn't been tested */ 32 /* Would probably work on freebsd but hasn't been tested */
33 #define DROPBEAR_DO_REEXEC (defined(HAVE_FEXECVE) && DROPBEAR_REEXEC && defined(__linux__)) 33 #if defined(HAVE_FEXECVE) && DROPBEAR_REEXEC && defined(__linux__)
34 #define DROPBEAR_DO_REEXEC 1
35 #else
36 #define DROPBEAR_DO_REEXEC 0
37 #endif
34 38
35 /* A client should try and send an initial key exchange packet guessing 39 /* A client should try and send an initial key exchange packet guessing
36 * the algorithm that will match - saves a round trip connecting, has little 40 * the algorithm that will match - saves a round trip connecting, has little
37 * overhead if the guess was "wrong". */ 41 * overhead if the guess was "wrong". */
38 #ifndef DROPBEAR_KEX_FIRST_FOLLOWS 42 #ifndef DROPBEAR_KEX_FIRST_FOLLOWS