Remove #error from include files.
Don't have #error statements in header files, but instead wrap the contents of that file in #ifndef OPENSSL_NO_xxx This means it is now always safe to include the header file. Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
@@ -141,12 +141,8 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <openssl/objects.h>
|
||||
#ifndef OPENSSL_NO_COMP
|
||||
# include <openssl/comp.h>
|
||||
#endif
|
||||
#ifndef OPENSSL_NO_ENGINE
|
||||
# include <openssl/engine.h>
|
||||
#endif
|
||||
#include <openssl/comp.h>
|
||||
#include <openssl/engine.h>
|
||||
#include "internal/threads.h"
|
||||
#include "ssl_locl.h"
|
||||
|
||||
|
Reference in New Issue
Block a user