add WOLFSSL_VXWORKS setting

pull/73/merge
toddouska 2015-06-08 14:44:02 -07:00
parent 067f11ff34
commit 13b0d632b2
1 changed files with 9 additions and 0 deletions

View File

@ -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 <wolfssl/wolfcrypt/visibility.h>
#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)