From 82424732af16c988dfb4c2074f968d832ddf9535 Mon Sep 17 00:00:00 2001 From: David Messer Date: Wed, 31 Jan 2018 11:01:00 -0500 Subject: [PATCH] Fix compiler issue with CONFIG_TESTING_OPTIONS Use the preprocessor conditional "ifdef" instead of "if" before CONFIG_TESTING_OPTIONS to prevent an issue on build systems that treat undefined preprocessor identifiers as an error. Signed-off-by: David Messer --- src/ap/wpa_auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ap/wpa_auth.c b/src/ap/wpa_auth.c index 9e7ce96ca..5664caa35 100644 --- a/src/ap/wpa_auth.c +++ b/src/ap/wpa_auth.c @@ -4543,7 +4543,7 @@ void wpa_auth_get_fils_aead_params(struct wpa_state_machine *sm, #endif /* CONFIG_FILS */ -#if CONFIG_TESTING_OPTIONS +#ifdef CONFIG_TESTING_OPTIONS int wpa_auth_resend_m1(struct wpa_state_machine *sm, int change_anonce, void (*cb)(void *ctx1, void *ctx2),