mirror of
https://github.com/g4klx/ircDDBGateway.git
synced 2026-01-09 17:59:58 +01:00
Add compile switch for log in local time
This commit is contained in:
parent
cf22bb061a
commit
970d57b997
|
|
@ -18,7 +18,11 @@
|
|||
|
||||
#include "Logger.h"
|
||||
|
||||
static bool utc = false;
|
||||
#if defined(LOG_LOCALTIME) && LOG_LOCAL_TIME == 1
|
||||
static const bool utc = false;
|
||||
#else
|
||||
static const bool utc = true;
|
||||
#endif
|
||||
|
||||
CLogger::CLogger(const wxString& directory, const wxString& name) :
|
||||
wxLog(),
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
export CXX ?= $(shell wx-config --cxx)
|
||||
export CFLAGS ?= -O2 -Wall $(shell wx-config --cxxflags)
|
||||
export CFLAGS ?= -O2 -Wall $(shell wx-config --cxxflags) -DLOG_LOCALTIME=1
|
||||
export GUILIBS ?= $(shell wx-config --libs adv,core,base)
|
||||
export LIBS ?= $(shell wx-config --libs base)
|
||||
export LDFLAGS ?=
|
||||
|
|
|
|||
Loading…
Reference in a new issue