Skip to content

Commit

Permalink
Build fixes for compiling NuttX with Eigen
Browse files Browse the repository at this point in the history
  • Loading branch information
Zefz authored and LorenzMeier committed Mar 10, 2015
1 parent 415a652 commit 3d34bcb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
8 changes: 8 additions & 0 deletions include/ctype.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 3 additions & 5 deletions include/time.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 3d34bcb

Please sign in to comment.