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:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user