From 727b84ce5e91529aa2cc77874bf5c6e8b1c3165b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Mon, 14 Jun 2021 18:07:24 +0200 Subject: [PATCH] Possible fix for reported problem with gettid() in libretro --- Common/Thread/ThreadUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Common/Thread/ThreadUtil.cpp b/Common/Thread/ThreadUtil.cpp index 3af9fdb969..3b538ee6b0 100644 --- a/Common/Thread/ThreadUtil.cpp +++ b/Common/Thread/ThreadUtil.cpp @@ -16,7 +16,7 @@ #include "Common/Log.h" #include "Common/Thread/ThreadUtil.h" -#if defined(__ANDROID__) || defined(__APPLE__) || (defined(__GLIBC__) && defined(_GNU_SOURCE)) +#if defined(__ANDROID__) || defined(__APPLE__) || PPSSPP_PLATFORM(LINUX) || (defined(__GLIBC__) && defined(_GNU_SOURCE)) #include #include #include