Commit 4fe2d9c3 authored by IOhannes m zmölnig's avatar IOhannes m zmölnig
Browse files

attempted to simplify the debug-macros

parent b34b8d8a
......@@ -31,32 +31,25 @@ using namespace gem::plugins;
#include "Gem/RTE.h"
/* debugging helpers */
#undef debugPost
#undef debugThread
#if __cplusplus > 199711L
# define debugPost(...)
# define debugThread(...)
#else
# define debugPost
# define debugThread
#endif
#if 0
# undef debugPost
# define debugPost ::startpost("%s:%s[%d]", __FILE__, __FUNCTION__, __LINE__), ::post
#endif
#if 0
# undef debugThread
# 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