Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Albert Gräf
Gem
Commits
36a90731
Commit
36a90731
authored
Dec 05, 2017
by
IOhannes m zmölnig
Browse files
variadic macros on C++>11
CID:167134,167136,167137,167138,167139,167141
parent
ec0ea13b
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/videoUNICAP/videoUNICAP.cpp
View file @
36a90731
...
...
@@ -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
/////////////////////////////////////////////////////////
//
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment