hikyuu2/config_utils.h.in

41 lines
723 B
C
Raw Normal View History

2024-07-17 01:57:19 +08:00
#pragma once
#ifndef HKU_UTILS_CONFIG_H_
#define HKU_UTILS_CONFIG_H_
2024-07-17 14:19:25 +08:00
#include "osdef.h"
2024-07-17 01:57:19 +08:00
// clang-format off
2024-07-17 14:19:25 +08:00
${define HKU_ENABLE_MYSQL}
#if HKU_ENABLE_MYSQL && HKU_OS_WINDOWS
#ifndef NOMINMAX
#define NOMINMAX
#endif
#endif
${define HKU_ENABLE_SQLITE}
${define HKU_ENABLE_SQLCIPHER}
${define HKU_SQL_TRACE}
2024-07-17 11:08:04 +08:00
2024-07-17 14:19:25 +08:00
${define HKU_SUPPORT_DATETIME}
${define HKU_ENABLE_INI_PARSER}
2024-07-17 11:08:04 +08:00
${define HKU_ENABLE_STACK_TRACE}
${define HKU_CLOSE_SPEND_TIME}
2024-07-17 14:19:25 +08:00
${define HKU_USE_SPDLOG_ASYNC_LOGGER}
${define HKU_LOG_ACTIVE_LEVEL}
2024-08-02 18:15:43 +08:00
${define HKU_ENABLE_MO}
${define HKU_ENABLE_HTTP_CLIENT}
${define HKU_ENABLE_HTTP_CLIENT_SSL}
${define HKU_ENABLE_HTTP_CLIENT_ZIP}
${define HKU_ENABLE_NODE}
2024-07-17 01:57:19 +08:00
// clang-format on
#endif /* HKU_UTILS_CONFIG_H_ */