/usr/include/purify/config.h is in libpurify-dev 2.0.0-1+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | #ifndef PURIFY_CPP_CONFIG_H
#define PURIFY_CPP_CONFIG_H
//! Problems with using and constructors
/* #undef PURIFY_HAS_USING */
#ifndef PURIFY_HAS_USING
#define PURIFY_HAS_NOT_USING
#endif
//! Whether to do logging or not
#define PURIFY_DO_LOGGING
//! Whether to do openmp
#define PURIFY_OPENMP
#include <string>
#include <tuple>
namespace purify {
//! Returns library version
inline std::string version() { return "2.0.0"; }
//! Returns library version
inline std::tuple<uint8_t, uint8_t, uint8_t> version_tuple() {
// clang-format off
return std::tuple<uint8_t, uint8_t, uint8_t>(
2, 0, 0);
// clang-format on
}
//! Returns library git reference, if known
inline std::string gitref() { return ""; }
//! Default logging level
inline std::string default_logging_level() { return "critical"; }
//! Default logger name
inline std::string default_logger_name() { return "purify"; }
//! Wether to add color to the logger
inline constexpr bool color_logger() {
// clang-format off
return true;
// clang-format on
}
}
#endif
|