aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Lipe <robertlipe@usa.net>2001-01-09 07:42:45 +0000
committerRobert Lipe <robertl@gcc.gnu.org>2001-01-09 07:42:45 +0000
commite7eceef2afb31172b92b9f7c87a0c289ecc9eccf (patch)
tree0ad177e4e72c2a31c0952253ead5a6df0b9166bc
parent3824a4860080dbc3b140e1eb7fa2b4efed115b81 (diff)
downloadgcc-e7eceef2afb31172b92b9f7c87a0c289ecc9eccf.zip
gcc-e7eceef2afb31172b92b9f7c87a0c289ecc9eccf.tar.gz
gcc-e7eceef2afb31172b92b9f7c87a0c289ecc9eccf.tar.bz2
* include/c_std/bits/std_ctime.h: Undefine difftime.
From-SVN: r38817
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/include/c_std/bits/std_ctime.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 6610d3d4..64e2775 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+
+2001-01-09 Robert Lipe <robertlipe@usa.net>
+
+ * include/c_std/bits/std_ctime.h: Undefine difftime.
+
2001-01-09 Alexandre Oliva <aoliva@redhat.com>
* src/gen-num-limits.cc (signal_adapter): New template function.
diff --git a/libstdc++-v3/include/c_std/bits/std_ctime.h b/libstdc++-v3/include/c_std/bits/std_ctime.h
index 031274b..763693a 100644
--- a/libstdc++-v3/include/c_std/bits/std_ctime.h
+++ b/libstdc++-v3/include/c_std/bits/std_ctime.h
@@ -42,6 +42,8 @@
#pragma GCC system_header
#include <time.h>
+#undef difftime
+
namespace std
{
using ::clock_t;