X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=utils%2Fyutilsenv.h;h=6c9fe2b25582bfa8c161cc883989b67027ce9e36;hp=487573fc6cf30b8a9771822b983629d6c6110c9d;hb=0065378b27638ee07352282b51b596fabcac26e4;hpb=912be3d8414dea3a2ebf1792698174d3b6d3cbf1 diff --git a/utils/yutilsenv.h b/utils/yutilsenv.h index 487573f..6c9fe2b 100644 --- a/utils/yutilsenv.h +++ b/utils/yutilsenv.h @@ -1,8 +1,7 @@ /* * YAFFS: Yet another Flash File System . A NAND-flash specific file system. * - * Copyright (C) 2002-2011 Aleph One Ltd. - * for Toby Churchill Ltd and Brightstar Engineering + * Copyright (C) 2002-2018 Aleph One Ltd. * * Created by Charles Manning * @@ -20,6 +19,23 @@ #define YCHAR char #define YUCHAR unsigned char +#ifndef u8 +#define u8 unsigned char +#endif + +#ifndef u16 +#define u16 unsigned short +#endif + +#ifndef u32 +#define u32 unsigned int +#endif + +#ifndef s32 +#define s32 int +#endif + + #include #include #include "yaffs_list.h"