yaffs: More clean up
[yaffs2.git] / yportenv.h
index 83203c88ce6751008b70a26d995167ee795de71d..38a3595fc34969f0203d555b92eeeff22254d288 100644 (file)
@@ -87,7 +87,7 @@
 #define Y_TIME_CONVERT(x) (x)
 #endif
 
-#define yaffs_SumCompare(x, y) ((x) == (y))
+#define yaffs_sum_cmp(x, y) ((x) == (y))
 #define yaffs_strcmp(a, b) strcmp(a, b)
 
 #define TENDSTR "\n"
 #define YAFFS_ROOT_MODE                        0755
 #define YAFFS_LOSTNFOUND_MODE          0700
 
-#define yaffs_SumCompare(x, y) ((x) == (y))
+#define yaffs_sum_cmp(x, y) ((x) == (y))
 #define yaffs_strcmp(a, b) strcmp(a, b)
 
 #else
 #define EINVAL 22
 #endif
 
+#ifndef ENFILE
+#define ENFILE 23
+#endif
+
 #ifndef EBADF
 #define EBADF  9
 #endif