From d05dbe42354154b7c4d27f3debf2831223b31b4d Mon Sep 17 00:00:00 2001 From: Charles Manning Date: Fri, 26 Nov 2010 12:26:00 +1300 Subject: [PATCH] yaffs direct: Add ELOOP definition Signed-off-by: Charles Manning --- direct/timothy_tests/quick_tests/lib.h | 4 ---- direct/yportenv.h | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/direct/timothy_tests/quick_tests/lib.h b/direct/timothy_tests/quick_tests/lib.h index f24e3aa..09808dd 100644 --- a/direct/timothy_tests/quick_tests/lib.h +++ b/direct/timothy_tests/quick_tests/lib.h @@ -20,10 +20,6 @@ #include #include "yaffsfs.h" - -#define ELOOP 10 //the error code ELOOP is not defined yet so I'm making a stand in. - - #define YAFFS_MOUNT_POINT "/yaffs2/" #define FILE_NAME "foo" #define FILE_SIZE 10 diff --git a/direct/yportenv.h b/direct/yportenv.h index 3f368aa..7001150 100644 --- a/direct/yportenv.h +++ b/direct/yportenv.h @@ -199,6 +199,10 @@ #define EISDIR 21 #endif +#ifndef ELOOP +#define ELOOP 40 +#endif + // Mode flags -- 2.30.2