From 13b0d632b2169e43b1f76db54c8c7d809b26da0c Mon Sep 17 00:00:00 2001 From: toddouska Date: Mon, 8 Jun 2015 14:44:02 -0700 Subject: [PATCH] add WOLFSSL_VXWORKS setting --- wolfssl/wolfcrypt/settings.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/wolfssl/wolfcrypt/settings.h b/wolfssl/wolfcrypt/settings.h index fa6aaa0e9..57c404a54 100644 --- a/wolfssl/wolfcrypt/settings.h +++ b/wolfssl/wolfcrypt/settings.h @@ -108,6 +108,9 @@ /* Uncomment next line if using Max Strength build */ /* #define WOLFSSL_MAX_STRENGTH */ +/* Uncomment next line if building for VxWorks */ +/* #define WOLFSSL_VXWORKS */ + #include #ifdef WOLFSSL_USER_SETTINGS @@ -273,6 +276,12 @@ #endif +#ifdef WOLFSSL_VXWORKS + #define NO_DEV_RANDOM + #define NO_WRITEV +#endif + + /* Micrium will use Visual Studio for compilation but not the Win32 API */ #if defined(_WIN32) && !defined(MICRIUM) && !defined(FREERTOS) \ && !defined(EBSNET) && !defined(WOLFSSL_EROAD)