From fba0cb7cce8309791498a5241901f8ada1292a2a Mon Sep 17 00:00:00 2001 From: "wtc%netscape.com" Date: Fri, 22 Feb 2002 04:23:30 +0000 Subject: Bugzilla bug 70217: ported NSS to BeOS. The patch is contributed by Christopher Seawood . --- security/nss/lib/util/secport.c | 2 +- security/nss/lib/util/secport.h | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'security/nss/lib/util') diff --git a/security/nss/lib/util/secport.c b/security/nss/lib/util/secport.c index f512e38e3..6216df3da 100644 --- a/security/nss/lib/util/secport.c +++ b/security/nss/lib/util/secport.c @@ -60,7 +60,7 @@ #include "prthread.h" #endif /* THREADMARK */ -#if defined(XP_UNIX) || defined(XP_MAC) || defined(XP_OS2) +#if defined(XP_UNIX) || defined(XP_MAC) || defined(XP_OS2) || defined(XP_BEOS) #include #else #include "wtypes.h" diff --git a/security/nss/lib/util/secport.h b/security/nss/lib/util/secport.h index 3c92676a2..245754390 100644 --- a/security/nss/lib/util/secport.h +++ b/security/nss/lib/util/secport.h @@ -45,7 +45,7 @@ #define _SECPORT_H_ /* - * define XP_MAC, XP_WIN, or XP_UNIX, in case they are not defined + * define XP_MAC, XP_WIN, XP_BEOS, or XP_UNIX, in case they are not defined * by anyone else */ #ifdef macintosh @@ -69,6 +69,12 @@ #endif #endif +#ifdef __BEOS__ +# ifndef XP_BEOS +# define XP_BEOS +# endif +#endif + #ifdef unix # ifndef XP_UNIX # define XP_UNIX -- cgit v1.2.1