]> git.ipfire.org Git - thirdparty/zstd.git/commit
pzstd: use c++14 without conditions
authorAlexander Kanavin <alex@linutronix.de>
Mon, 19 Jun 2023 15:10:09 +0000 (17:10 +0200)
committerNick Terrell <nickrterrell@gmail.com>
Mon, 18 Mar 2024 16:15:26 +0000 (12:15 -0400)
commitcd4dba74dea8a92f9e33d72fcb5b60224bc4e6c3
tree147249d4e4b9af81560fc3b36023d66dbd30d4d1
parent7d970bd83c2323c5e78b4f15ae850373c70f055d
pzstd: use c++14 without conditions

Doing this check with a direct c++ snippet is prone to portability problems:

- \043 is not portable between shells: dash expands it to #,
bash does not;

- using # directly works with make 4.3 but does not with make 4.2.

Let's just use the c++ version that covers both the code and the gtest.
contrib/pzstd/Makefile