Added Rhapsody to the long list of OS's that can't handle localtime_r().

This commit is contained in:
mcafee%netscape.com 1998-09-28 07:12:12 +00:00
Родитель aa655ba85a
Коммит ba1cf16b8f
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

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