Suppress warnings from glibc macros.

This commit is contained in:
louib
2019-11-16 18:25:34 -05:00
parent 607a244bbf
commit 5bf579d5b2
2 changed files with 8 additions and 1 deletions

View File

@@ -18,8 +18,13 @@
*
*/
#define _POSIX_SOURCE
#ifndef _DEFAULT_SOURCE
#define _DEFAULT_SOURCE
#endif
#ifndef _POSIX_SOURCE
#define _POSIX_SOURCE
#endif
#include "stdio.h"
#include "stdlib.h"

View File

@@ -20,7 +20,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
*/
#ifndef _POSIX_SOURCE
#define _POSIX_SOURCE
#endif
#include <stdint.h>
#include <time.h>