Skip to content

Commit

Permalink
Handle redefinition of symbol _DEFAULT_SOURCE
Browse files Browse the repository at this point in the history
  • Loading branch information
utelle committed Dec 18, 2024
1 parent 3739865 commit fe267c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/argon2/src/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
#define VC_GE_2005(version) (version >= 1400)

/* for explicit_bzero() on glibc */
#ifndef _DEFAULT_SOURCE
#define _DEFAULT_SOURCE
#endif

#include <stdio.h>
#include <stdlib.h>
Expand Down

0 comments on commit fe267c6

Please sign in to comment.