summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nuttx/include/ctype.h8
-rw-r--r--nuttx/include/time.h8
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 */