From 94818ce16f63c4728a1d9316628a3651287f16df Mon Sep 17 00:00:00 2001 From: Johan Jansen Date: Mon, 9 Mar 2015 16:34:09 +0100 Subject: Build fixes for compiling NuttX with Eigen --- nuttx/include/ctype.h | 8 ++++++++ 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 */ -- cgit v1.2.3