X-Git-Url: https://yaffs.net/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Fydirectenv.h;h=08fc04d3812a9cb1276479a046d943f32d3820a3;hp=b477343d683f52f8f2d710603321c7feaa4426ec;hb=9545c19fb2de4e3578eb63329f99754dd5041b55;hpb=b9ab2c3546387e18b46804929b6a6582d9156b3c diff --git a/direct/ydirectenv.h b/direct/ydirectenv.h index b477343..08fc04d 100644 --- a/direct/ydirectenv.h +++ b/direct/ydirectenv.h @@ -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 YAFFS_USE_32_BIT_TIME_T + #define YTIME_T u32 +#else + #define YTIME_T u64 +#endif #define YCHAR char #define YUCHAR unsigned char