1. Move some more includes in port.h to a block for WINCE where they aren't included.

2. Added "SINGLE_THREADED" to the vs user_settings.h.
pull/134/head
John Safranek 2019-01-08 11:40:01 -08:00
parent 6668ef2b80
commit 8ec417b97b
2 changed files with 4 additions and 3 deletions

View File

@ -24,5 +24,6 @@
#define TFM_TIMING_RESISTANT
#define ECC_TIMING_RESISTANT
#define WOLFSSL_PUBLIC_MP
#define SINGLE_THREADED
#endif /* _WIN_USER_SETTINGS_H_ */

View File

@ -431,10 +431,10 @@ extern "C" {
#ifndef _WIN32_WCE
#include <sys/types.h>
#include <sys/stat.h>
#include <io.h>
#include <direct.h>
#include <fcntl.h>
#endif
#include <io.h>
#include <direct.h>
#include <fcntl.h>
#define WSTAT_T struct _stat
#define WRMDIR(d) _rmdir((d))