summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qglobal_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/global/qglobal_p.h')
-rw-r--r--src/corelib/global/qglobal_p.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/corelib/global/qglobal_p.h b/src/corelib/global/qglobal_p.h
index d6e84acd3e..31f67510e3 100644
--- a/src/corelib/global/qglobal_p.h
+++ b/src/corelib/global/qglobal_p.h
@@ -52,21 +52,9 @@
#endif
#if defined(__cplusplus)
-#ifdef Q_CC_MINGW
-# include <unistd.h> // Define _POSIX_THREAD_SAFE_FUNCTIONS to obtain localtime_r()
-#endif
-#include <time.h>
-
QT_BEGIN_NAMESPACE
-// These behave as if they consult the environment, so need to share its locking:
-Q_CORE_EXPORT void qTzSet();
-Q_CORE_EXPORT time_t qMkTime(struct tm *when);
-
-#if !defined(Q_CC_MSVC)
-Q_NORETURN
-#endif
-Q_CORE_EXPORT void qAbort();
+Q_NORETURN Q_CORE_EXPORT void qAbort();
QT_END_NAMESPACE
@@ -142,4 +130,3 @@ QT_END_NAMESPACE
#endif // defined(__cplusplus)
#endif // QGLOBAL_P_H
-