diff --git a/linux/xptypes.h b/linux/xptypes.h index fe3b3347b..007d5a145 100644 --- a/linux/xptypes.h +++ b/linux/xptypes.h @@ -87,6 +87,7 @@ extern void p_ignore(char*, ...); #define XP_MEMCPY(d,s,l) memcpy((d),(s),(l)) #define XP_MEMCMP( a1, a2, l ) memcmp((a1),(a2),(l)) #define XP_STRLEN(s) strlen(s) +#define XP_STRCAT(d,s) strcat((d),(s)) #define XP_STRNCMP(s1,s2,len) strncmp((s1),(s2),(len)) #define XP_STRCMP(s1,s2) strcmp((s1),(s2)) #define XP_RANDOM() random() diff --git a/palm/xptypes.h b/palm/xptypes.h index e4061c32c..f677cb08c 100644 --- a/palm/xptypes.h +++ b/palm/xptypes.h @@ -76,6 +76,7 @@ XP_U8* palm_realloc(XP_U8* in, XP_U16 size); #define XP_STRNCMP(s1,s2,l) StrNCompare((const char*)(s1), \ (const char*)(s2),(l)) #define XP_STRCMP(s1,s2) StrCompare((s1),(s2)) +#define XP_STRCAT(d,s) StrCat((d),(s)) #define XP_SNPRINTF palm_snprintf #define XP_MIN(a,b) ((a)<(b)?(a):(b))