Pārlūkot izejas kodu

Makefile: feature test macros to make dumb Linux happy

Kosma Moczek 11 gadi atpakaļ
vecāks
revīzija
e9ee7cc0c1
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      Makefile

+ 1 - 0
Makefile

@@ -5,6 +5,7 @@
 # published by Sam Hocevar. See the COPYING file for more details.
 
 CFLAGS = -g -Wall -Wextra -Werror -std=c99
+CFLAGS += -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE
 LDLIBS = -lcheck
 
 all: scan-build test example