зеркало из https://github.com/mozilla/pjs.git
Added #if defined ( SNI ) to a few existing #if tests, for compiling
on SINIX.
This commit is contained in:
Родитель
7f503d5338
Коммит
3081de25df
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче