1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Merge pull request #3421 from niacat/posix_c_source

Define _POSIX_C_SOURCE to be 200112L, as a minimum for C99.
This commit is contained in:
Manuel Pégourié-Gonnard
2020-06-18 13:01:38 +02:00
committed by GitHub
4 changed files with 5 additions and 3 deletions

View File

@ -21,7 +21,7 @@
#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))
#if !defined(_POSIX_C_SOURCE)
#define _POSIX_C_SOURCE 1 // for fileno() from <stdio.h>
#define _POSIX_C_SOURCE 200112L // for fileno() from <stdio.h>
#endif
#endif