From 26b1d42c84d6a7027659c85b031ac53be2b7d8a8 Mon Sep 17 00:00:00 2001 From: Duraid Madina Date: Mon, 16 May 2005 06:59:53 +0000 Subject: [PATCH] comment the hpux bit git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22081 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/System/Unix/TimeValue.inc | 1 + 1 file changed, 1 insertion(+) 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); -- 2.34.1