From d3da503c293e8ffc5cb0af895d2b3e67d3aca658 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bence=20Sz=C3=A9pk=C3=BAti?= Date: Wed, 2 Jun 2021 11:31:51 +0200 Subject: [PATCH] Move comment closer to relevant code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bence Szépkúti --- include/mbedtls/build_info.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/mbedtls/build_info.h b/include/mbedtls/build_info.h index 2498a738b..e4a89c60e 100644 --- a/include/mbedtls/build_info.h +++ b/include/mbedtls/build_info.h @@ -41,15 +41,15 @@ #error "Invalid config version, MBEDTLS_CONFIG_VERSION != 1" #endif +#if defined(MBEDTLS_USER_CONFIG_VERSION) +#error "MBEDTLS_USER_CONFIG_VERSION defined outside MBEDTLS_USER_CONFIG_FILE" +#endif + /* Target and application specific configurations * * Allow user to override any previous default. * */ -#if defined(MBEDTLS_USER_CONFIG_VERSION) -#error "MBEDTLS_USER_CONFIG_VERSION defined outside MBEDTLS_USER_CONFIG_FILE" -#endif - #if defined(MBEDTLS_USER_CONFIG_FILE) #include MBEDTLS_USER_CONFIG_FILE #if !defined(MBEDTLS_USER_CONFIG_VERSION) || \