X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=direct%2Fydirectenv.h;h=ae2e23cbbfd04e903d47c70fd823130d05a0b4bc;hb=refs%2Fheads%2Fmaster;hp=b477343d683f52f8f2d710603321c7feaa4426ec;hpb=223ff79f689aba309ebc3ef856fb46095148d40e;p=yaffs2.git diff --git a/direct/ydirectenv.h b/direct/ydirectenv.h index b477343..ae2e23c 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 CONFIG_YAFFS_USE_32_BIT_TIME_T + #define YTIME_T u32 +#else + #define YTIME_T u64 +#endif #define YCHAR char #define YUCHAR unsigned char