forked from wolfSSL/wolfssl
wolfssl/wolfcrypt/settings.h: use #warning, not #error, for "No configuration for wolfSSL detected, check header order", to avoid unnecessary breakage of old projects with nonstandard custom settings.
This commit is contained in:
@@ -336,10 +336,10 @@
|
|||||||
#include "os/networking/ssl/lite/cyassl_nucleus_defs.h"
|
#include "os/networking/ssl/lite/cyassl_nucleus_defs.h"
|
||||||
#elif !defined(BUILDING_WOLFSSL) && !defined(WOLFSSL_OPTIONS_H) && \
|
#elif !defined(BUILDING_WOLFSSL) && !defined(WOLFSSL_OPTIONS_H) && \
|
||||||
!defined(WOLFSSL_CUSTOM_CONFIG)
|
!defined(WOLFSSL_CUSTOM_CONFIG)
|
||||||
/* This error indicates that the settings header may not be included before
|
/* This warning indicates that the settings header may not be included before
|
||||||
* other wolfSSL headers. If you are using a custom configuration method,
|
* other wolfSSL headers. If you are using a custom configuration method,
|
||||||
* define WOLFSSL_CUSTOM_CONFIG to override this error. */
|
* define WOLFSSL_CUSTOM_CONFIG to override this error. */
|
||||||
#error "No configuration for wolfSSL detected, check header order"
|
#warning "No configuration for wolfSSL detected, check header order"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <wolfssl/wolfcrypt/visibility.h>
|
#include <wolfssl/wolfcrypt/visibility.h>
|
||||||
|
Reference in New Issue
Block a user