From ff7c5a325bc16720904dc14d3fc2f899205cd4fa Mon Sep 17 00:00:00 2001 From: Feng Tang Date: Tue, 8 Jun 2010 15:12:32 +0800 Subject: elflink: fix some compile error --- com32/include/stdio.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'com32/include/stdio.h') diff --git a/com32/include/stdio.h b/com32/include/stdio.h index f37bdd9e..57efbfd3 100644 --- a/com32/include/stdio.h +++ b/com32/include/stdio.h @@ -100,6 +100,9 @@ __extern int vsnprintf(char *, size_t n, const char *, va_list); __extern int asprintf(char **, const char *, ...); __extern int vasprintf(char **, const char *, va_list); +#define mp(f, x...) \ + printf("[%s()]: " f "\n", __func__,##x) + /* No buffering, so no flushing needed */ static __inline__ int fflush(FILE * __f) { -- cgit v1.2.1