• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1diff -uprN a/absl/debugging/symbolize.cc b/absl/debugging/symbolize.cc
2--- a/absl/debugging/symbolize.cc	2023-09-18 22:40:01.000000000 +0800
3+++ b/absl/debugging/symbolize.cc	2025-02-17 19:17:40.838757700 +0800
4@@ -19,7 +19,7 @@
5 #if !(WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)) || \
6     WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
7 // UWP doesn't have access to win32 APIs.
8-#define ABSL_INTERNAL_HAVE_SYMBOLIZE_WIN32
9+//#define ABSL_INTERNAL_HAVE_SYMBOLIZE_WIN32
10 #endif
11 #endif
12
13diff -uprN a/absl/synchronization/internal/pthread_waiter.h b/absl/synchronization/internal/pthread_waiter.h
14--- a/absl/synchronization/internal/pthread_waiter.h	2023-09-18 22:40:01.000000000 +0800
15+++ b/absl/synchronization/internal/pthread_waiter.h	2025-02-17 16:46:03.212234400 +0800
16@@ -16,7 +16,7 @@
17 #ifndef ABSL_SYNCHRONIZATION_INTERNAL_PTHREAD_WAITER_H_
18 #define ABSL_SYNCHRONIZATION_INTERNAL_PTHREAD_WAITER_H_
19
20-#ifndef _WIN32
21+#if !defined(_WIN32) && !defined(__MINGW32__)
22 #include <pthread.h>
23
24 #include "absl/base/config.h"
25@@ -55,6 +55,6 @@ class PthreadWaiter : public WaiterCrtp<
26 ABSL_NAMESPACE_END
27 }  // namespace absl
28
29-#endif  // ndef _WIN32
30+#endif  // !defined(_WIN32) && !defined(__MINGW32__)
31
32 #endif  // ABSL_SYNCHRONIZATION_INTERNAL_PTHREAD_WAITER_H_
33diff -uprN a/absl/synchronization/internal/win32_waiter.h b/absl/synchronization/internal/win32_waiter.h
34--- a/absl/synchronization/internal/win32_waiter.h	2023-09-18 22:40:01.000000000 +0800
35+++ b/absl/synchronization/internal/win32_waiter.h	2025-02-17 16:40:32.342234400 +0800
36@@ -20,7 +20,8 @@
37 #include <sdkddkver.h>
38 #endif
39
40-#if defined(_WIN32) && _WIN32_WINNT >= _WIN32_WINNT_VISTA
41+#if defined(_WIN32) && !defined(__MINGW32__) && \
42+    _WIN32_WINNT >= _WIN32_WINNT_VISTA
43
44 #include "absl/base/config.h"
45 #include "absl/synchronization/internal/kernel_timeout.h"
46