projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added support for 64 bit time to yaffs direct.
[yaffs2.git]
/
direct
/
ydirectenv.h
diff --git
a/direct/ydirectenv.h
b/direct/ydirectenv.h
index b477343d683f52f8f2d710603321c7feaa4426ec..08fc04d3812a9cb1276479a046d943f32d3820a3 100644
(file)
--- 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