Skip to content

Commit 78f3535

Browse files
Sebastian Schüllerboaks
authored andcommitted
dtls_debug.c: only enable _GNU_SOURCE for MinGW builds.
1 parent e6be12b commit 78f3535

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

dtls_debug.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@
1717

1818
#include "tinydtls.h"
1919

20+
#ifdef IS_WINDOWS
2021
#ifndef _GNU_SOURCE
2122
#define _GNU_SOURCE
2223
#endif /* _GNU_SOURCE */
24+
#endif /* IS_WINDOWS */
2325

2426
#if defined(HAVE_ASSERT_H) && !defined(assert)
2527
#include <assert.h>

0 commit comments

Comments
 (0)