mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 20:24:39 +02:00
sp_int.h: force C linkage, so that enable-sp-math-all is compatible with CC=g++.
This commit is contained in:
@@ -31,6 +31,10 @@ This library provides single precision (SP) integer math functions.
|
|||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Find smallest type for smallest bits. */
|
/* Find smallest type for smallest bits. */
|
||||||
#if UCHAR_MAX == 255
|
#if UCHAR_MAX == 255
|
||||||
#define SP_UCHAR_BITS 8
|
#define SP_UCHAR_BITS 8
|
||||||
@@ -889,5 +893,8 @@ WOLFSSL_API word32 CheckRunTimeFastMath(void);
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* WOLF_CRYPT_SP_H */
|
#ifdef __cplusplus
|
||||||
|
} /* extern "C" */
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* WOLF_CRYPT_SP_H */
|
||||||
|
Reference in New Issue
Block a user