Use POSIX 2001 as the base standard.

This commit is contained in:
Anthony J. Bentley
2014-11-06 21:39:36 -07:00
parent 9e24c26468
commit 1e1339467e
7 changed files with 2 additions and 7 deletions

View File

@@ -1,6 +1,7 @@
.POSIX:
REALCFLAGS = ${CFLAGS} -Wall -Iinclude -Iinclude/asm/gameboy -g -std=c99
REALCFLAGS = ${CFLAGS} -Wall -Iinclude -Iinclude/asm/gameboy -g -std=c99 \
-D_POSIX_C_SOURCE=200112L
# User-defined variables
PREFIX = /usr/local

View File

@@ -1,4 +1,3 @@
#define _XOPEN_SOURCE 500
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View File

@@ -5,7 +5,6 @@
*
*/
#define _XOPEN_SOURCE 500
#include <math.h>
#include <stdarg.h>
#include <stdbool.h>

View File

@@ -5,7 +5,6 @@
*
*/
#define _XOPEN_SOURCE 500
#include <assert.h>
#include <stdio.h>
#include <string.h>

View File

@@ -1,5 +1,4 @@
%{
#define _XOPEN_SOURCE 500
#include <ctype.h>
#include <errno.h>
#include <stdbool.h>

View File

@@ -14,7 +14,6 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#define _XOPEN_SOURCE 500
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>

View File

@@ -1,4 +1,3 @@
#define _XOPEN_SOURCE 500
#include <stdio.h>
#include <stdlib.h>
#include <string.h>