Skip to content

Commit

Permalink
Build in C11 mode on Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
mutability committed Aug 27, 2016
1 parent 36a5c16 commit f152bf6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Expand Up @@ -24,6 +24,7 @@ UNAME := $(shell uname)

ifeq ($(UNAME), Linux)
LIBS+=-lrt
CFLAGS+=-std=c11 -D_BSD_SOURCE=1 -D_POSIX_C_SOURCE=200809L
endif
ifeq ($(UNAME), Darwin)
# TODO: Putting GCC in C11 mode breaks things.
Expand Down

0 comments on commit f152bf6

Please sign in to comment.