Fix blocks per chunk in resize
[yaffs/.git] / wince / ywinceenv.h
index 33fee72e37abc9f944e6bdac2f6d3aba0e1d246c..550686930ec2b939e4bb80e57e0aa99783a51102 100644 (file)
@@ -14,7 +14,7 @@
  *
  * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
  *
- * $Id: ywinceenv.h,v 1.1 2004-09-19 09:21:38 charles Exp $
+ * $Id: ywinceenv.h,v 1.3 2004-10-10 18:03:35 charles Exp $
  *
  */
  
@@ -26,6 +26,8 @@
 #include "stdio.h"
 #include "string.h"
 
+#include "devextras.h"
+
 #define CONFIG_YAFFS_CASE_INSENSITIVE
 
 #define YMALLOC(x) malloc(x)
@@ -58,7 +60,9 @@
 
 extern unsigned yfsd_U32FileTimeNow(void);
 
-#define CURRENT_TIME                            yfsd_U32FileTimeNow()
+#define Y_CURRENT_TIME                          yfsd_U32FileTimeNow()
+#define Y_TIME_CONVERT(x) (x)
+
 #define YAFFS_ROOT_MODE                                FILE_ATTRIBUTE_ARCHIVE
 #define YAFFS_LOSTNFOUND_MODE          FILE_ATTRIBUTE_HIDDEN
 
@@ -70,3 +74,5 @@ extern unsigned yfsd_U32FileTimeNow(void);
 #define YBUG() T(YAFFS_TRACE_BUG,(TSTR("==>> yaffs bug: %s %d" TENDSTR),TEXT(__FILE__),__LINE__))
 
 #endif
+
+