Further integration of 64-bit time changes
[yaffs2.git] / direct / ydirectenv.h
index b477343d683f52f8f2d710603321c7feaa4426ec..ae2e23cbbfd04e903d47c70fd823130d05a0b4bc 100644 (file)
@@ -29,6 +29,11 @@ void yaffs_bug_fn(const char *file_name, int line_no);
 
 #define BUG() do { yaffs_bug_fn(__FILE__, __LINE__); } while (0)
 
+#ifdef CONFIG_YAFFS_USE_32_BIT_TIME_T
+       #define YTIME_T u32
+#else
+       #define YTIME_T u64
+#endif
 
 #define YCHAR char
 #define YUCHAR unsigned char