Merge pull request #208 from nodemcu/dev

Fixed compilation fails, adjust redefined #define __P(x) x,closed #206.
This commit is contained in:
zeroday 2015-02-12 21:28:41 +08:00
commit bc6d975fca
1 changed files with 3 additions and 1 deletions

View File

@ -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));