mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-03 15:55:43 +00:00
Fix include in reduced config files
This commit is contained in:
parent
dd0c0f33c0
commit
725e7f4942
|
@ -8,6 +8,8 @@ These files are complete replacements for the default config.h. To use one of
|
||||||
them, you can pick one of the following methods:
|
them, you can pick one of the following methods:
|
||||||
|
|
||||||
1. Replace the default file include/polarssl/config.h with the chosen one.
|
1. Replace the default file include/polarssl/config.h with the chosen one.
|
||||||
|
(Depending on your compiler, you may need to ajust the line with
|
||||||
|
#include "polarssl/check_config.h" then.)
|
||||||
|
|
||||||
2. Define POLARSSL_CONFIG_FILE and adjust the include path accordingly.
|
2. Define POLARSSL_CONFIG_FILE and adjust the include path accordingly.
|
||||||
For example, using make:
|
For example, using make:
|
||||||
|
|
|
@ -51,6 +51,6 @@
|
||||||
/* For testing with compat.sh */
|
/* For testing with compat.sh */
|
||||||
#define POLARSSL_FS_IO
|
#define POLARSSL_FS_IO
|
||||||
|
|
||||||
#include "check_config.h"
|
#include "polarssl/check_config.h"
|
||||||
|
|
||||||
#endif /* POLARSSL_CONFIG_H */
|
#endif /* POLARSSL_CONFIG_H */
|
||||||
|
|
|
@ -34,6 +34,6 @@
|
||||||
#define POLARSSL_SSL_SRV_C
|
#define POLARSSL_SSL_SRV_C
|
||||||
#define POLARSSL_SSL_TLS_C
|
#define POLARSSL_SSL_TLS_C
|
||||||
|
|
||||||
#include "check_config.h"
|
#include "polarssl/check_config.h"
|
||||||
|
|
||||||
#endif /* POLARSSL_CONFIG_H */
|
#endif /* POLARSSL_CONFIG_H */
|
||||||
|
|
|
@ -51,6 +51,6 @@
|
||||||
/* For testing with compat.sh */
|
/* For testing with compat.sh */
|
||||||
#define POLARSSL_FS_IO
|
#define POLARSSL_FS_IO
|
||||||
|
|
||||||
#include "check_config.h"
|
#include "polarssl/check_config.h"
|
||||||
|
|
||||||
#endif /* POLARSSL_CONFIG_H */
|
#endif /* POLARSSL_CONFIG_H */
|
||||||
|
|
Loading…
Reference in a new issue