projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20514d1
)
comment the hpux bit
author
Duraid Madina
<duraid@octopus.com.au>
Mon, 16 May 2005 06:59:53 +0000
(06:59 +0000)
committer
Duraid Madina
<duraid@octopus.com.au>
Mon, 16 May 2005 06:59:53 +0000
(06:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22081
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/System/Unix/TimeValue.inc
patch
|
blob
|
history
diff --git
a/lib/System/Unix/TimeValue.inc
b/lib/System/Unix/TimeValue.inc
index 1df9e3b31b484d1e74147efee4289dc71f18a451..8c8dfcc3b74e150f2e508a5e106ba3835459c58f 100644
(file)
--- 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);