From f0cbc763d0253b4e157b431e7d28dfd7abe65190 Mon Sep 17 00:00:00 2001 From: me Date: Tue, 29 Sep 2015 08:37:57 -0700 Subject: #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. --- lwext4/ext4.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lwext4/ext4.h b/lwext4/ext4.h index 9702031..a09d0cc 100644 --- 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 -- cgit v1.2.3