Added WOLFSSL_IGNORE_FILE_WARN option to ignore warning for .c files that do not need to be included.

This commit is contained in:
David Garske
2018-01-17 13:27:59 -08:00
parent 0b8c069119
commit 1276d21d8e
3 changed files with 9 additions and 3 deletions

View File

@@ -46,7 +46,9 @@
/* Check for if compiling misc.c when not needed. */
#if !defined(WOLFSSL_MISC_INCLUDED) && !defined(NO_INLINE)
#warning misc.c does not need to be compiled when using inline (NO_INLINE not defined)
#ifndef WOLFSSL_IGNORE_FILE_WARN
#warning misc.c does not need to be compiled when using inline (NO_INLINE not defined)
#endif
#else