Minor fixes for Solaris.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48906 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Jason Parker 20 years ago
parent 66783cb46f
commit d017436015

@ -58,6 +58,7 @@ export PROC
export SOLINK
export STRIP
export DOWNLOAD
export OSARCH
# even though we could use '-include makeopts' here, use a wildcard
# lookup anyway, so that make won't try to build makeopts if it doesn't

@ -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
}
/*

Loading…
Cancel
Save