don't conditionally define macros

dev
Tom Early 4 years ago
parent dcb99b2146
commit 9f725193e5

@ -73,10 +73,6 @@ bool CQnetConfigure::ReadConfigFile(const char *configfile, std::map<std::string
return true;
}
#ifndef CFG_DIR
#define CFG_DIR "/usr/local/etc"
#endif
bool CQnetConfigure::Initialize(const char *file)
{
std::string filename(CFG_DIR);

@ -50,10 +50,6 @@
#include "QnetGateway.h"
#include "Utilities.h"
#ifndef CFG_DIR
#define CFG_DIR "/usr/local/etc"
#endif
const std::string GW_VERSION("QnetGateway-20320");
int CQnetGateway::FindIndex(const int i) const

@ -55,12 +55,6 @@
#include "Utilities.h"
#define LINK_VERSION "QnetLink-607"
#ifndef BIN_DIR
#define BIN_DIR "/usr/local/bin"
#endif
#ifndef CFG_DIR
#define CFG_DIR "/usr/local/etc"
#endif
CQnetLink::CQnetLink()
{

@ -41,10 +41,6 @@
#define VERSION "v523"
#ifndef CFG_DIR
#define CFG_DIR "/usr/local/etc"
#endif
static int module;
static time_t tNow = 0;
static short streamid_raw = 0;

Loading…
Cancel
Save

Powered by TurnKey Linux.