mirror of https://github.com/wolfSSL/wolfssl
Merge pull request #521 from dgarske/improve_inline_misc
Change misc.c error to warning when trying to be compiled and inline enabled
This commit is contained in:
commit
fd9f8125e3
|
@ -46,8 +46,9 @@
|
||||||
|
|
||||||
/* Check for if compiling misc.c when not needed. */
|
/* Check for if compiling misc.c when not needed. */
|
||||||
#if !defined(WOLFSSL_MISC_INCLUDED) && !defined(NO_INLINE)
|
#if !defined(WOLFSSL_MISC_INCLUDED) && !defined(NO_INLINE)
|
||||||
#error misc.c does not need to be compiled when not defined NO_INLINE
|
#warning misc.c does not need to be compiled when using inline (NO_INLINE not defined)
|
||||||
#endif
|
|
||||||
|
#else
|
||||||
|
|
||||||
#ifdef INTEL_INTRINSICS
|
#ifdef INTEL_INTRINSICS
|
||||||
|
|
||||||
|
@ -203,4 +204,7 @@ STATIC INLINE int ConstantCompare(const byte* a, const byte* b, int length)
|
||||||
|
|
||||||
#undef STATIC
|
#undef STATIC
|
||||||
|
|
||||||
|
|
||||||
|
#endif /* !WOLFSSL_MISC_INCLUDED && !NO_INLINE */
|
||||||
|
|
||||||
#endif /* WOLF_CRYPT_MISC_C */
|
#endif /* WOLF_CRYPT_MISC_C */
|
||||||
|
|
Loading…
Reference in New Issue