mirror of
https://github.com/KjellKod/g3log.git
synced 2024-12-13 10:42:56 +01:00
DBUG-vs-DEBUG in main_ programs fixed
This commit is contained in:
parent
940d11a61d
commit
c39e77c27e
@ -30,6 +30,11 @@ namespace example_fatal
|
||||
}
|
||||
} // example fatal
|
||||
|
||||
#ifdef CHANGE_G3LOG_DEBUG_TO_DBUG
|
||||
#undef DEBUG
|
||||
#define DEBUG DBUG
|
||||
#endif
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
double pi_d = 3.1415926535897932384626433832795;
|
||||
|
@ -24,6 +24,11 @@
|
||||
#define NOEXCEPT throw()
|
||||
#endif
|
||||
|
||||
#ifdef CHANGE_G3LOG_DEBUG_TO_DBUG
|
||||
#undef DEBUG
|
||||
#define DEBUG DBUG
|
||||
#endif
|
||||
|
||||
namespace
|
||||
{
|
||||
#if (defined(WIN32) || defined(_WIN32) || defined(__WIN32__))
|
||||
|
@ -22,6 +22,11 @@ namespace
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef CHANGE_G3LOG_DEBUG_TO_DBUG
|
||||
#undef DEBUG
|
||||
#define DEBUG DBUG
|
||||
#endif
|
||||
|
||||
namespace example_fatal
|
||||
{
|
||||
// on Ubunti this caused get a compiler warning with gcc4.6
|
||||
|
Loading…
Reference in New Issue
Block a user