diff options
author | Georg Sauthoff <mail@georg.so> | 2016-08-27 10:47:50 +0200 |
---|---|---|
committer | Georg Sauthoff <mail@georg.so> | 2016-08-27 15:24:50 +0200 |
commit | 681d5010d53cc2631ad96afa5dfc7ea70f13e5de (patch) | |
tree | be253ab252efdf971f3e4e49dc144b7ac8be80fe /examples | |
parent | 584e1fe92ade602404d668a9d83e9264709d5dbe (diff) | |
download | lz4-681d5010d53cc2631ad96afa5dfc7ea70f13e5de.tar.gz lz4-681d5010d53cc2631ad96afa5dfc7ea70f13e5de.tar.bz2 lz4-681d5010d53cc2631ad96afa5dfc7ea70f13e5de.zip |
use gnu c99 to get both c99 and POSIX
when compiling with gcc
fixes fileno() implicitly defined on Linx and compile error on Solaris 10
Diffstat (limited to 'examples')
-rw-r--r-- | examples/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/Makefile b/examples/Makefile index 1e4f075..c8caf24 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -28,7 +28,7 @@ # ########################################################################## CFLAGS ?= -O3 -CFLAGS += -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wstrict-prototypes +CFLAGS += -std=gnu99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wstrict-prototypes FLAGS := -I../lib $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) TESTFILE= Makefile |