DBUG-vs-DEBUG in main_ programs fixed

This commit is contained in:
SchoenleAndi 2016-10-19 13:39:24 +02:00
parent 940d11a61d
commit c39e77c27e
3 changed files with 15 additions and 0 deletions

View File

@ -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;

View File

@ -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__))

View File

@ -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