yaffsfs.c: Fix NULL dereference in yaffs_unmount2_reldev()
[yaffs2.git] / yportenv.h
deleted file mode 120000 (symlink)
index b21fbc6aa6a985f92e5cdac403e2d2224b63ed14..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-yportenv_multi.h
\ No newline at end of file
new file mode 100644 (file)
index 0000000000000000000000000000000000000000..7530eee748c82a0c171dfe797780aa527495ad9c
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * YAFFS: Yet another Flash File System . A NAND-flash specific file system.
+ *
+ * Copyright (C) 2002-2018 Aleph One Ltd.
+ *
+ * Created by Waldemar Rymarkiewicz <waldemar.rymarkiewicz@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 2.1 as
+ * published by the Free Software Foundation.
+ *
+ * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
+ */
+
+#ifdef YAFFS_CURRENT
+       #include "yportenv_single.h"
+#else
+       #include "yportenv_multi.h"
+#endif