send output to correct stream, fix C99 compile problem

This commit is contained in:
matthias.ringwald 2010-08-03 19:46:08 +00:00
parent 764a330277
commit b114010b51

View File

@ -39,14 +39,14 @@
#ifdef EMBEDDED
#define log_dbg(format, ...)
#define log_err(format, ...)
#define log_dbg(...)
#define log_err(...)
#else
#include <stdio.h>
#define log_dbg(format, ...) fprintf(stderr, format, ## __VA_ARGS__)
#define log_err(format, ...) printf(format, ## __VA_ARGS__)
#define log_dbg(format, ...) printf(format, ## __VA_ARGS__)
#define log_err(format, ...) fprintf(stderr, format, ## __VA_ARGS__)
#endif