diff --git a/include/dap_defines.h b/include/dap_defines.h deleted file mode 100644 index cff99e5ae2921471a13f379a58e25752d5f50d34..0000000000000000000000000000000000000000 --- a/include/dap_defines.h +++ /dev/null @@ -1,21 +0,0 @@ -#pragma once -#define DAP_APP_NAME NODE_NETNAME "-node" - -//#ifdef _WIN32 -// #define SYSTEM_PREFIX "%USERPROFILE%/opt/"DAP_APP_NAME -//#else - #define SYSTEM_PREFIX "/opt/"DAP_APP_NAME -// #define SYSTEM_PREFIX "opt/"DAP_APP_NAME -//#endif - -#define LOCAL_PREFIX "~/."DAP_APP_NAME - -#define SYSTEM_CONFIGS_DIR SYSTEM_PREFIX"/etc" -#define LOCAL_CONFIGS_DIR LOCAL_PREFIX"/etc" -#define SYSTEM_LOGS_DIR SYSTEM_PREFIX"/var/log" - -#define SYSTEM_CONFIG_GLOBAL_FILENAME SYSTEM_PREFIX"/etc/"DAP_APP_NAME".cfg" -#define LOCAL_CONFIG_GLOBAL LOCAL_PREFIX"/etc/"DAP_APP_NAME".cfg" - -#define SYSTEM_PID_FILE_PATH SYSTEM_PREFIX"/run/"DAP_APP_NAME".pid" -#define LOCAL_PID_FILE_PATH SYSTEM_PREFIX"/run/"DAP_APP_NAME".pid" diff --git a/include/libdap-chain-python.h b/include/libdap-chain-python.h index aee6083e55a232c4a574a69a0b3ddb6e64e0d915..630d0f82d7bf61a0fb59de3a5f16d985be88f499 100644 --- a/include/libdap-chain-python.h +++ b/include/libdap-chain-python.h @@ -8,7 +8,6 @@ //#define SYSTEM_CONFIGS_DIR SYSTEM_PREFIX"/etc" #include "Python.h" -#include "dap_defines.h" //#define DAP_APP_NAME "BINDING_CHAIN_PYTHON" #include "dap_chain.h" #include "dap_chain_node_client.h"