Changes for BeOS.

This commit is contained in:
mcafee%netscape.com 1999-06-26 21:39:54 +00:00
parent 6248e7811c
commit 629e811d82

View File

@ -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 */