mirror of
https://github.com/eclipse/tinydtls.git
synced 2025-05-08 19:41:19 +08:00
dtls_debug.c: only enable _GNU_SOURCE for MinGW builds.
This commit is contained in:
parent
1ccfd9c0a2
commit
c6609c83e3
@ -17,9 +17,11 @@
|
||||
|
||||
#include "tinydtls.h"
|
||||
|
||||
#ifdef IS_WINDOWS
|
||||
#ifndef _GNU_SOURCE
|
||||
#define _GNU_SOURCE
|
||||
#endif /* _GNU_SOURCE */
|
||||
#endif /* IS_WINDOWS */
|
||||
|
||||
#if defined(HAVE_ASSERT_H) && !defined(assert)
|
||||
#include <assert.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user