Skip to content

Commit 5e10d06

Browse files
author
Noam Preil
committed
Switch _XOPEN_SOURCE to 700. You win, skarnet.
1 parent b2cba3f commit 5e10d06

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 2.8.5)
22

33
project(scas C)
4-
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -pedantic -std=c99 -D_XOPEN_SOURCE=500")
4+
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -pedantic -std=c99 -D_XOPEN_SOURCE=700")
55
set(CMAKE_C_FLAGS_DEVEL "-Werror -g -Og")
66

77
if(WIN32)

scas/flags.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#define _XOPEN_SOURCE
21
#include "flags.h"
32
#include <stdio.h>
43
#include <string.h>

0 commit comments

Comments
 (0)