Commit 36a90731 authored by IOhannes m zmölnig's avatar IOhannes m zmölnig
Browse files

variadic macros on C++>11

CID:167134,167136,167137,167138,167139,167141
parent ec0ea13b
......@@ -31,9 +31,6 @@ using namespace gem::plugins;
#include "Gem/RTE.h"
/* debugging helpers */
#define debugPost
#define debugThread
#if 0
# undef debugPost
# define debugPost ::startpost("%s:%s[%d]", __FILE__, __FUNCTION__, __LINE__), ::post
......@@ -44,6 +41,22 @@ using namespace gem::plugins;
# define debugThread ::startpost("%s:%s[%d]", __FILE__, __FUNCTION__, __LINE__), ::post
#endif
#if __cplusplus > 199711L
# ifndef debugPost
# define debugPost(...)
# endif
# ifndef debugThread
# define debugThread(...)
# endif
#else
# ifndef debugPost
# define debugPost
# endif
# ifndef debugThread
# define debugThread
# endif
#endif
/////////////////////////////////////////////////////////
//
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment