Skip to content

Commit cd9c7e6

Browse files
committed
Move the _GNU_SOURCE def
1 parent bd22a90 commit cd9c7e6

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ else ()
3636
set (FLAGS "-O3 -march=native")
3737
endif()
3838

39-
set (CMAKE_C_FLAGS "-std=c99 -Wall -pedantic -g ${FLAGS}")
39+
set (CMAKE_C_FLAGS "-std=c99 -Wall -pedantic -g -D_GNU_SOURCE ${FLAGS}")

block.c

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#define _GNU_SOURCE
21
#include <stdlib.h>
32
#include <string.h>
43
#include <stdint.h>

0 commit comments

Comments
 (0)