Signed-off-by: Liu Hao <lh_mo...@126.com>
---
 mingw-w64-headers/crt/time.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/mingw-w64-headers/crt/time.h b/mingw-w64-headers/crt/time.h
index 4019cb41..ad4d52d1 100644
--- a/mingw-w64-headers/crt/time.h
+++ b/mingw-w64-headers/crt/time.h
@@ -271,10 +271,6 @@ struct timezone {
   extern int __cdecl mingw_gettimeofday (struct timeval *p, struct
timezone *z);
 #endif /* _TIMEZONE_DEFINED */
 -#ifdef __cplusplus
-}
-#endif
-
 #pragma pack(pop)
  #if defined(_POSIX_C_SOURCE) && !defined(_POSIX_THREAD_SAFE_FUNCTIONS)
@@ -296,6 +292,10 @@ __forceinline char *__CRTDECL asctime_r(const
struct tm *_Tm, char * _Str) {
 }
 #endif
 +#ifdef __cplusplus
+}
+#endif
+
 /* Adding timespec definition.  */
 #include <sys/timeb.h>
 -- 2.24.0


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to