X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=direct%2Fydirectenv.h;fp=direct%2Fydirectenv.h;h=b2293a62fbdf4236092590d21e67ed5c451d93a7;hb=878880321c4fa7ab0e431d22a3dd156a9a272c68;hp=eff8ff93f194e7f9b23cd79dd5c7f7e86c578abb;hpb=006efa87bb82703f1cdd56cb8c7a3b06d489d4e3;p=yaffs2.git diff --git a/direct/ydirectenv.h b/direct/ydirectenv.h index eff8ff9..b2293a6 100644 --- a/direct/ydirectenv.h +++ b/direct/ydirectenv.h @@ -35,6 +35,10 @@ void yaffs_bug_fn(const char *file_name, int line_no); #define YUCHAR unsigned char #define _Y(x) x +#ifndef Y_LOFF_T +#define Y_LOFF_T loff_t +#endif + #define yaffs_strcat(a, b) strcat(a, b) #define yaffs_strcpy(a, b) strcpy(a, b) #define yaffs_strncpy(a, b, c) strncpy(a, b, c)