mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Added #if defined ( SNI ) to a few existing #if tests, for compiling
on SINIX.
This commit is contained in:
parent
f9d512df9f
commit
b3743d8812
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user