mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Minor fixes for Solaris.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48906 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1216,11 +1216,7 @@ const time_t * const timep;
|
||||
char *buf;
|
||||
{
|
||||
struct tm tm;
|
||||
#ifdef SOLARIS
|
||||
return asctime_r(localtime_r(timep, &tm), buf, 256);
|
||||
#else
|
||||
return asctime_r(localtime_r(timep, &tm), buf);
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user