Skip to content

Commit

Permalink
add feature test macro to allow usage of strnlen()
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Zimmermann committed Dec 13, 2019
1 parent 97ff56a commit 0a08762
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/zlib_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/

#define _POSIX_C_SOURCE 200809L

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

0 comments on commit 0a08762

Please sign in to comment.