]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
cli : use new advanced API by default
authorYann Collet <cyan@fb.com>
Thu, 6 Jul 2017 00:34:15 +0000 (17:34 -0700)
committerYann Collet <cyan@fb.com>
Thu, 6 Jul 2017 00:34:15 +0000 (17:34 -0700)
programs/Makefile

index 8b080d446606f8f96a9dbd6aaa7086762208d013..2460a091f436ee8f4922de3d7bf22bbe6b99ce7c 100644 (file)
@@ -39,6 +39,7 @@ endif
 
 CPPFLAGS+= -I$(ZSTDDIR) -I$(ZSTDDIR)/common -I$(ZSTDDIR)/compress \
            -I$(ZSTDDIR)/dictBuilder \
+           -DZSTD_NEWAPI \
            -DXXH_NAMESPACE=ZSTD_   # because xxhash.o already compiled with this macro from library
 CFLAGS  ?= -O3
 DEBUGFLAGS = -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow \