Survey: Add clang and zstd
This commit is contained in:
@@ -60,6 +60,9 @@
|
|||||||
#ifdef WITH_LIBLZMA
|
#ifdef WITH_LIBLZMA
|
||||||
# include <lzma.h>
|
# include <lzma.h>
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef WITH_ZSTD
|
||||||
|
#include <zstd.h>
|
||||||
|
#endif
|
||||||
#ifdef WITH_LZO
|
#ifdef WITH_LZO
|
||||||
#include <lzo/lzo1x.h>
|
#include <lzo/lzo1x.h>
|
||||||
#endif
|
#endif
|
||||||
@@ -134,6 +137,9 @@ void SurveyCompiler(nlohmann::json &survey)
|
|||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
survey["name"] = "MSVC";
|
survey["name"] = "MSVC";
|
||||||
survey["version"] = _MSC_VER;
|
survey["version"] = _MSC_VER;
|
||||||
|
#elif defined(__clang__)
|
||||||
|
survey["name"] = "clang";
|
||||||
|
survey["version"] = __clang_version__;
|
||||||
#elif defined(__ICC) && defined(__GNUC__)
|
#elif defined(__ICC) && defined(__GNUC__)
|
||||||
survey["name"] = "ICC";
|
survey["name"] = "ICC";
|
||||||
survey["version"] = __ICC;
|
survey["version"] = __ICC;
|
||||||
@@ -369,6 +375,10 @@ void SurveyLibraries(nlohmann::json &survey)
|
|||||||
survey["lzma"] = lzma_version_string();
|
survey["lzma"] = lzma_version_string();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef WITH_ZSTD
|
||||||
|
survey["zstd"] = ZSTD_versionString();
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef WITH_LZO
|
#ifdef WITH_LZO
|
||||||
survey["lzo"] = lzo_version_string();
|
survey["lzo"] = lzo_version_string();
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user