Add large NAND support and improve retirement handling
[yaffs2.git] / direct / ydirectenv.h
index d05912643be2503de11fe8af442c8772d97e732a..c651394c80b0901de4aa2d115f8e3ba60f5d2159 100644 (file)
@@ -14,7 +14,7 @@
  *
  * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
  *
  *
  * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
  *
- * $Id: ydirectenv.h,v 1.3 2006-05-21 09:39:12 charles Exp $
+ * $Id: ydirectenv.h,v 1.4 2006-10-03 10:13:03 charles Exp $
  *
  */
  
  *
  */
  
 #define yaffs_sprintf       sprintf
 #define yaffs_toupper(a)     toupper(a)
 
 #define yaffs_sprintf       sprintf
 #define yaffs_toupper(a)     toupper(a)
 
+#ifdef NO_Y_INLINE
+#define Y_INLINE
+#else
 #define Y_INLINE inline
 #define Y_INLINE inline
-
+#endif
 
 #define YMALLOC(x) malloc(x)
 #define YFREE(x)   free(x)
 
 #define YMALLOC(x) malloc(x)
 #define YFREE(x)   free(x)