Commit 24cf4a13 authored by Warren Dukes's avatar Warren Dukes

forte C++ compile fixes

git-svn-id: https://svn.musicpd.org/mpd/trunk@1226 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent 42a1a76e
...@@ -29,16 +29,16 @@ ...@@ -29,16 +29,16 @@
extern int logLevel; extern int logLevel;
#define ERROR(x, arg...) myfprintf(stderr, x , ##arg) #define ERROR(...) myfprintf(stderr, __VA_ARGS__)
#define LOG(x, arg...) myfprintf(stdout, x , ##arg) #define LOG(...) myfprintf(stdout, __VA_ARGS__)
#define SECURE(x, arg...) if(logLevel>=LOG_LEVEL_SECURE) \ #define SECURE(...) if(logLevel>=LOG_LEVEL_SECURE) \
myfprintf(stdout, x , ##arg) myfprintf(stdout, __VA_ARGS__)
#define DEBUG(x, arg...) if(logLevel>=LOG_LEVEL_DEBUG) \ #define DEBUG(...) if(logLevel>=LOG_LEVEL_DEBUG) \
myfprintf(stdout, x , ##arg) myfprintf(stdout, __VA_ARGS__)
void initLog(); void initLog();
......
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