shithub: lwext4

Download patch

ref: f0cbc763d0253b4e157b431e7d28dfd7abe65190
parent: fc60a1283de27fd5c2fe02b7b307eefc66fb2a63
author: me <[email protected]>
date: Tue Sep 29 04:37:57 EDT 2015

#ifdef CONFIG_HAVE_OWN_OFLAGS should be #if. Also, if CONFIG_HAVE_OWN_OFLAGS == 1, the definitions from ext4.h is used instead of the one provided by your OS.

--- a/lwext4/ext4.h
+++ b/lwext4/ext4.h
@@ -47,7 +47,7 @@
 
 /********************************FILE OPEN FLAGS*****************************/
 
-#ifdef CONFIG_HAVE_OWN_OFLAGS
+#if CONFIG_HAVE_OWN_OFLAGS
 
  #ifndef O_RDONLY
  #define O_RDONLY 00