diff --git a/src/survey.cpp b/src/survey.cpp index a3fa39c0e8..ad8525266b 100644 --- a/src/survey.cpp +++ b/src/survey.cpp @@ -60,6 +60,9 @@ #ifdef WITH_LIBLZMA # include #endif +#ifdef WITH_ZSTD +#include +#endif #ifdef WITH_LZO #include #endif @@ -134,6 +137,9 @@ void SurveyCompiler(nlohmann::json &survey) #if defined(_MSC_VER) survey["name"] = "MSVC"; survey["version"] = _MSC_VER; +#elif defined(__clang__) + survey["name"] = "clang"; + survey["version"] = __clang_version__; #elif defined(__ICC) && defined(__GNUC__) survey["name"] = "ICC"; survey["version"] = __ICC; @@ -369,6 +375,10 @@ void SurveyLibraries(nlohmann::json &survey) survey["lzma"] = lzma_version_string(); #endif +#ifdef WITH_ZSTD + survey["zstd"] = ZSTD_versionString(); +#endif + #ifdef WITH_LZO survey["lzo"] = lzo_version_string(); #endif