Skip to content

Commit

Permalink
internal: define __STDC_WANT_LIB_EXT1__ to expose the memset_s declar…
Browse files Browse the repository at this point in the history
…ation under c99

Thanks to kallewoof for reporting and help debugging.
  • Loading branch information
jgriffiths committed Sep 23, 2020
1 parent 005848e commit 16fb5cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
#include "secp256k1/include/secp256k1.h"
#include "secp256k1/include/secp256k1_recovery.h"
#include <config.h>
#if defined(HAVE_MEMSET_S)
#define __STDC_WANT_LIB_EXT1__ 1
#endif
#include <string.h>

/* Fetch an internal secp context */
Expand Down

0 comments on commit 16fb5cc

Please sign in to comment.