ref: c5db565ba94c5624f99f127fc9ee6dabf57ca4d4
parent: 0d2c2b5509e8489b94dfe782eb1bf455fa86a493
author: gkostka <kostka.grzegorz@gmail.com>
date: Sun Apr 6 13:16:15 EDT 2014
Fixed errno header.
--- a/lwext4/ext4_errno.h
+++ b/lwext4/ext4_errno.h
@@ -38,7 +38,7 @@
#include <ext4_config.h>
-#ifndef CONFIG_HAVE_OWN_ERRNO
+#if !CONFIG_HAVE_OWN_ERRNO
#include <errno.h>
#else
#define EPERM 1 /* Operation not permitted */
@@ -76,6 +76,10 @@
#define EDOM 33 /* Math argument out of domain of func */
#define ERANGE 34 /* Math result not representable */
#define ENOTSUP 95 /* Not supported */
+#endif
+
+#ifndef ENOTSUP
+#define ENOTSUP 95
#endif
#ifndef EOK