From 960032ddd88a3408a42bf49dc9235d05f5c30c25 Mon Sep 17 00:00:00 2001 From: HuangRui Date: Thu, 12 Feb 2015 20:03:27 +0800 Subject: [PATCH] =?UTF-8?q?Fixed=20compilation=20fails,=20adjust=20redefin?= =?UTF-8?q?ed=20#define=20=5F=5FP(x)=20x=EF=BC=8Cclosed=20#206.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/libc/c_stdio.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/libc/c_stdio.c b/app/libc/c_stdio.c index 6ef1dd30..03e64581 100644 --- a/app/libc/c_stdio.c +++ b/app/libc/c_stdio.c @@ -281,7 +281,9 @@ typedef long long quad_t; typedef unsigned long long u_quad_t; typedef double rtype; -#define __P(x) x +#ifndef __P +#define __P(args) args +#endif static char * _getbase __P((char *, int *)); static int _atob __P((unsigned long long *, char *p, int));