Added #if defined ( SNI ) to a few existing #if tests, for compiling

on SINIX.


git-svn-id: svn://10.0.0.236/trunk@994 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mccabe
1998-05-01 07:06:12 +00:00
parent 6bf27be3b9
commit 5332947894
2 changed files with 4 additions and 4 deletions

View File

@@ -361,7 +361,7 @@ PR_DSTOffset(int64 time)
int64 maxtimet;
struct tm tm;
PRTime prtm;
#if defined( XP_PC ) || defined( FREEBSD ) || defined ( HPUX9 )
#if defined( XP_PC ) || defined( FREEBSD ) || defined ( HPUX9 ) || defined ( SNI )
struct tm *ptm;
#endif
@@ -379,7 +379,7 @@ PR_DSTOffset(int64 time)
}
LL_L2UI(local,time);
PR_basetime(time,&prtm);
#if defined( XP_PC ) || defined( FREEBSD ) || defined ( HPUX9 )
#if defined( XP_PC ) || defined( FREEBSD ) || defined ( HPUX9 ) || defined ( SNI )
ptm = localtime(&local);
if (!ptm)
return LL_ZERO;

View File

@@ -284,7 +284,7 @@ PRMJ_DSTOffset(PRInt64 time)
PRInt64 maxtimet;
struct tm tm;
PRMJTime prtm;
#if defined( XP_PC ) || defined( FREEBSD ) || defined ( HPUX9 )
#if defined( XP_PC ) || defined( FREEBSD ) || defined ( HPUX9 ) || defined ( SNI )
struct tm *ptm;
#endif
@@ -303,7 +303,7 @@ PRMJ_DSTOffset(PRInt64 time)
}
LL_L2UI(local,time);
PRMJ_basetime(time,&prtm);
#if defined( XP_PC ) || defined( FREEBSD ) || defined ( HPUX9 )
#if defined( XP_PC ) || defined( FREEBSD ) || defined ( HPUX9 ) || defined ( SNI )
ptm = localtime(&local);
if(!ptm){
return LL_ZERO;