Skip to content

Commit

Permalink
Any #define DEBUG will interfere with the logger.
Browse files Browse the repository at this point in the history
Undefined the DEBUG in in the header.
  • Loading branch information
linas committed May 14, 2024
1 parent 1f96d4e commit a14ef84
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions opencog/util/Logger.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@

#include <opencog/util/concurrent_queue.h>

// Some systems try to define DEBUG, which interferes with the below.
#ifdef DEBUG
#undef DEBUG
#endif

namespace opencog
{
/** \addtogroup grp_cogutil
Expand Down

0 comments on commit a14ef84

Please sign in to comment.