summaryrefslogtreecommitdiff
path: root/absl
diff options
context:
space:
mode:
authorGravatar Andy Getzendanner <durandal@google.com>2022-06-02 12:26:48 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2022-06-02 12:27:26 -0700
commit859c63524fa542abde71c2564953f4a9aefdc952 (patch)
tree14d8196b707f25a0bd682a401860d65057302823 /absl
parentbed94589f27d7fdfa34ede5988203369d170cec3 (diff)
Include proper #includes for POSIX thread identity implementation when using that implementation on MinGW.
Fixes #1124 PiperOrigin-RevId: 452596638 Change-Id: Iab34b8e112dc050ffe346a418fa7b499983f0dcf
Diffstat (limited to 'absl')
-rw-r--r--absl/base/internal/thread_identity.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/base/internal/thread_identity.cc b/absl/base/internal/thread_identity.cc
index db46aafb..79853f09 100644
--- a/absl/base/internal/thread_identity.cc
+++ b/absl/base/internal/thread_identity.cc
@@ -14,7 +14,7 @@
#include "absl/base/internal/thread_identity.h"
-#ifndef _WIN32
+#if !defined(_WIN32) || defined(__MINGW32__)
#include <pthread.h>
#include <signal.h>
#endif