Explorar o código

Fixed linux compile to support fpclassify (issue #18)

Kevin Branigan %!s(int64=9) %!d(string=hai) anos
pai
achega
1a20eb8494
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -11,7 +11,7 @@ INSTALL_LIBRARY_PATH = $(DESTDIR)$(PREFIX)/$(LIBRARY_PATH)
 
 INSTALL ?= cp -a
 
-R_CFLAGS = -fpic $(CFLAGS) -Wall -Werror -Wstrict-prototypes -Wwrite-strings
+R_CFLAGS = -fpic $(CFLAGS) -Wall -Werror -Wstrict-prototypes -Wwrite-strings -D_POSIX_C_SOURCE=200112L
 
 uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo false')