summaryrefslogtreecommitdiff
path: root/lib/System/Unix
diff options
context:
space:
mode:
authorDuraid Madina <duraid@octopus.com.au>2005-05-16 06:59:53 +0000
committerDuraid Madina <duraid@octopus.com.au>2005-05-16 06:59:53 +0000
commit26b1d42c84d6a7027659c85b031ac53be2b7d8a8 (patch)
tree76fd9bedbc7585ea68583070f105b410ebfec947 /lib/System/Unix
parent20514d18a3876590b1536cb7cbfa3d275ae620ac (diff)
downloadllvm-26b1d42c84d6a7027659c85b031ac53be2b7d8a8.tar.gz
llvm-26b1d42c84d6a7027659c85b031ac53be2b7d8a8.tar.bz2
llvm-26b1d42c84d6a7027659c85b031ac53be2b7d8a8.tar.xz
comment the hpux bit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22081 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System/Unix')
-rw-r--r--lib/System/Unix/TimeValue.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/System/Unix/TimeValue.inc b/lib/System/Unix/TimeValue.inc
index 1df9e3b31b..8c8dfcc3b7 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);