Skip to content

Commit

Permalink
Merge pull request #71 from mikaelarguedas/console_bridge_0.2.x_compat
Browse files Browse the repository at this point in the history
define macro with API call rather than relying on short macro being d…
  • Loading branch information
dirk-thomas authored Dec 19, 2017
2 parents 96a5515 + 33d68d0 commit 64da30f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cpp_common/src/header.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
// Remove this when no longer supporting platforms with libconsole-bridge-dev < 0.3.0,
// in particular Debian Jessie: https://packages.debian.org/jessie/libconsole-bridge-dev
#ifndef CONSOLE_BRIDGE_logError
#define CONSOLE_BRIDGE_logError logError
# define CONSOLE_BRIDGE_logError(fmt, ...) \
console_bridge::log(__FILE__, __LINE__, console_bridge::CONSOLE_BRIDGE_LOG_ERROR, fmt, ##__VA_ARGS__)
#endif

using namespace std;
Expand Down

0 comments on commit 64da30f

Please sign in to comment.