mirror of
https://github.com/eclipse/tinydtls.git
synced 2025-10-14 03:10:09 +08:00
windows: move _CRT_RAND_S to tinydtls.h
This commit is contained in:
@@ -15,8 +15,6 @@
|
||||
#include "dtls_prng.h"
|
||||
#include "dtls_debug.h"
|
||||
|
||||
#define _CRT_RAND_S
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#if defined(__MINGW32__)
|
||||
|
@@ -34,6 +34,7 @@
|
||||
|
||||
#if defined(_WIN32) || defined(_WIN64)
|
||||
#define IS_WINDOWS 1
|
||||
#define _CRT_RAND_S
|
||||
#endif
|
||||
|
||||
#ifdef WITH_LWIP
|
||||
|
Reference in New Issue
Block a user