windows: move _CRT_RAND_S to tinydtls.h

This commit is contained in:
Jan Romann
2022-11-22 18:05:05 +01:00
committed by obgm
parent c84e36ff60
commit 614297524d
2 changed files with 1 additions and 2 deletions

View File

@@ -15,8 +15,6 @@
#include "dtls_prng.h"
#include "dtls_debug.h"
#define _CRT_RAND_S
#include <stdlib.h>
#if defined(__MINGW32__)

View File

@@ -34,6 +34,7 @@
#if defined(_WIN32) || defined(_WIN64)
#define IS_WINDOWS 1
#define _CRT_RAND_S
#endif
#ifdef WITH_LWIP