From 5f47d04c049c2b98748127d837e976c9405e1bec Mon Sep 17 00:00:00 2001 From: "mcafee%netscape.com" Date: Sat, 26 Jun 1999 21:39:54 +0000 Subject: [PATCH] Changes for BeOS. git-svn-id: svn://10.0.0.236/trunk@37054 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/include/resdef.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/mozilla/include/resdef.h b/mozilla/include/resdef.h index 5cd74d99888..476290bcbc7 100644 --- a/mozilla/include/resdef.h +++ b/mozilla/include/resdef.h @@ -98,6 +98,7 @@ /* END NEW_STRING_LIB */ #elif defined(XP_UNIX) + #ifdef RESOURCE_STR_X #define RES_START #define BEGIN_STR(arg) static char *(arg)(void) { @@ -109,6 +110,14 @@ #define ResDef(name,id,msg) case (id)+RES_OFFSET: return (msg); #define END_STR(arg) } return NULL; } #endif /* RESOURCE_STR_X */ + +#elif defined(XP_BEOS) + +#define RES_START +#define BEGIN_STR(arg) static char *(arg)(int32 i) { switch (i) { +#define ResDef(name,id,msg) case (id)+RES_OFFSET: return (msg); +#define END_STR(arg) } return NULL; } + #endif /* XP_WIN */ #endif /* RESOURCE_STR */