mirror of
https://github.com/facebook/zstd
synced 2026-08-22 22:32:07 -04:00
Change c90 to c89
c89 and c90 are the same language. Old compilers like gcc 4.2.1 don't know the c90 alias.
This commit is contained in:
parent
2ed5344e84
commit
6ddb783c3e
2 changed files with 4 additions and 4 deletions
|
|
@ -20,8 +20,8 @@ TEST_FILE = ../doc/zstd_compression_format.md
|
|||
|
||||
CPPFLAGS += -DXXH_NAMESPACE=ZSTD_ -I$(ZLIB_PATH) -I$(PROGRAMS_PATH) \
|
||||
-I$(ZSTDLIBDIR) -I$(ZSTDLIBDIR)/common -I$(ZLIBWRAPPER_PATH)
|
||||
STDFLAGS = -std=c90 -pedantic -Wno-long-long -Wno-variadic-macros -Wc++-compat \
|
||||
-DNO_snprintf -DNO_vsnprintf # strict ISO C90 is missing these prototypes
|
||||
STDFLAGS = -std=c89 -pedantic -Wno-long-long -Wno-variadic-macros -Wc++-compat \
|
||||
-DNO_snprintf -DNO_vsnprintf # strict ANSI C89 is missing these prototypes
|
||||
DEBUGFLAGS= -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum \
|
||||
-Wdeclaration-after-statement -Wstrict-prototypes -Wundef \
|
||||
-Wstrict-aliasing=1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue