Move comment closer to relevant code
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com>
diff --git a/include/mbedtls/build_info.h b/include/mbedtls/build_info.h
index 2498a73..e4a89c6 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) || \