diff options
author | Johan Jansen <jnsn.johan@gmail.com> | 2015-03-09 16:34:09 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2015-03-10 12:55:40 +0100 |
commit | 94818ce16f63c4728a1d9316628a3651287f16df (patch) | |
tree | 20d91b2e1b503c2171129811005b0eb8f9b84af1 | |
parent | 11afcdfee6a3961952dd92f02c1abaa4756b115f (diff) | |
download | px4-nuttx-94818ce16f63c4728a1d9316628a3651287f16df.tar.gz px4-nuttx-94818ce16f63c4728a1d9316628a3651287f16df.tar.bz2 px4-nuttx-94818ce16f63c4728a1d9316628a3651287f16df.zip |
Build fixes for compiling NuttX with Eigen
-rw-r--r-- | nuttx/include/ctype.h | 8 | ||||
-rw-r--r-- | nuttx/include/time.h | 8 |
2 files changed, 11 insertions, 5 deletions
diff --git a/nuttx/include/ctype.h b/nuttx/include/ctype.h index 22b325eef..a394aa636 100644 --- a/nuttx/include/ctype.h +++ b/nuttx/include/ctype.h @@ -48,6 +48,14 @@ /**************************************************************************** * Pre-processor Definitions ****************************************************************************/ +#define _U 01 +#define _L 02 +#define _N 04 +#define _S 010 +#define _P 020 +#define _C 040 +#define _X 0100 +#define _B 0200 /**************************************************************************** * Name: isspace diff --git a/nuttx/include/time.h b/nuttx/include/time.h index 623f9afb2..d053a845a 100644 --- a/nuttx/include/time.h +++ b/nuttx/include/time.h @@ -127,11 +127,9 @@ struct tm int tm_mday; /* day of the month (1-31) */ int tm_mon; /* month (0-11) */ int tm_year; /* years since 1900 */ -#if 0 /* not supported */ - int tm_wday; /* day of the week (0-6) */ - int tm_yday; /* day of the year (0-365) */ - int tm_isdst; /* non-0 if daylight savings time is in effect */ -#endif + int tm_wday; /* day of the week (0-6) */ /*not supported by NuttX*/ + int tm_yday; /* day of the year (0-365) */ /*not supported by NuttX*/ + int tm_isdst; /* non-0 if daylight savings time is in effect */ /*not supported by NuttX*/ }; /* Struct itimerspec is used to define settings for an interval timer */ |