X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=direct%2Fydirectenv.h;h=3c009a48f28ca950a54bb184921dfa57f1897193;hb=a6f6a1bb6ff2b876047173be7cec28a1e1faaaa4;hp=6a2bb182e8200e112fed98b8232c60e4eeed1fcd;hpb=e8cfe05cf0d057f6978c37943e51b17bb14664e3;p=yaffs2.git diff --git a/direct/ydirectenv.h b/direct/ydirectenv.h index 6a2bb18..3c009a4 100644 --- a/direct/ydirectenv.h +++ b/direct/ydirectenv.h @@ -31,11 +31,13 @@ #include "assert.h" #define YBUG() assert(0) +//#define YBUG() do { *((int *)0) =1;} while(0) #define YCHAR char #define YUCHAR unsigned char #define _Y(x) x +#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) #define yaffs_strncmp(a,b,c) strncmp(a,b,c) @@ -68,6 +70,7 @@ #define TENDSTR "\n" #define TSTR(x) x +#define TCONT(x) x #define TOUT(p) printf p