Consistent use of _POSIX_C_SOURCE

This commit is contained in:
Keith Bowes 2020-02-27 19:48:17 -05:00
parent ff54fecfe6
commit 1c7c069e72
2 changed files with 3 additions and 4 deletions

View file

@ -2,7 +2,7 @@
#define OUTPUT_H
#ifndef _POSIX_C_SOURCE
#define _POSIX_C_SOURCE 200809L
#define _POSIX_C_SOURCE 200112L
#endif
#include <assert.h>

View file

@ -1,10 +1,9 @@
#ifndef SERVER_H
#define SERVER_H
#ifdef _POSIX_C_SOURCE
#undef _POSIX_C_SOURCE
#endif
#ifndef _POSIX_C_SOURCE
#define _POSIX_C_SOURCE 200112L
#endif
#include <stdio.h>