Prechádzať zdrojové kódy

Fixed linux compile to support fpclassify (issue #18)

Kevin Branigan 9 rokov pred
rodič
commit
1a20eb8494
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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')