From: Duraid Madina Date: Mon, 16 May 2005 06:59:53 +0000 (+0000) Subject: comment the hpux bit X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=26b1d42c84d6a7027659c85b031ac53be2b7d8a8;p=oota-llvm.git comment the hpux bit git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22081 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/System/Unix/TimeValue.inc b/lib/System/Unix/TimeValue.inc index 1df9e3b31b4..8c8dfcc3b74 100644 --- a/lib/System/Unix/TimeValue.inc +++ b/lib/System/Unix/TimeValue.inc @@ -26,6 +26,7 @@ std::string TimeValue::toString() const { time_t ourTime = time_t(this->toEpochTime()); #ifdef __hpux +// note that the following line needs -D_REENTRANT on HP-UX to be picked up asctime_r(localtime(&ourTime), buffer); #else ::asctime_r(::localtime(&ourTime), buffer);