Skip to content

Commit fe267c6

Browse files
committed
Handle redefinition of symbol _DEFAULT_SOURCE
1 parent 3739865 commit fe267c6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/argon2/src/core.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@
2626
#define VC_GE_2005(version) (version >= 1400)
2727

2828
/* for explicit_bzero() on glibc */
29+
#ifndef _DEFAULT_SOURCE
2930
#define _DEFAULT_SOURCE
31+
#endif
3032

3133
#include <stdio.h>
3234
#include <stdlib.h>

0 commit comments

Comments
 (0)