From c0cea500d5cb9e44c40c9f142b5cc006a132d32b Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 19 Jan 2020 22:33:46 +0000 Subject: user/doxygen: Fix Qt 2.x code for time64 compatibility --- user/doxygen/time64.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 user/doxygen/time64.patch (limited to 'user/doxygen/time64.patch') diff --git a/user/doxygen/time64.patch b/user/doxygen/time64.patch new file mode 100644 index 000000000..ee06d6e03 --- /dev/null +++ b/user/doxygen/time64.patch @@ -0,0 +1,19 @@ +--- doxygen-Release_1_8_16/qtools/qdatetime.cpp.old 2019-08-08 13:36:52.000000000 +0000 ++++ doxygen-Release_1_8_16/qtools/qdatetime.cpp 2020-01-19 19:14:24.204239898 +0000 +@@ -35,7 +35,6 @@ + ** + **********************************************************************/ + +-#define gettimeofday __hide_gettimeofday + #include "qdatetime.h" + #include "qdatastream.h" + #include +@@ -55,8 +54,6 @@ + #elif defined(_OS_UNIX_) || defined(_OS_MAC_) + #include + #include +-#undef gettimeofday +-extern "C" int gettimeofday( struct timeval *, struct timezone * ); + #endif + + static const uint FIRST_DAY = 2361222; // Julian day for 1752/09/14 -- cgit v1.2.3-60-g2f50