summaryrefslogtreecommitdiff
path: root/drivers/unix/thread_posix.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-10-11 12:34:10 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-10-11 12:34:10 +0200
commit6ad1a635ee19c6d263061cc661476cd94022de5b (patch)
tree3bc54c350635c05c4621e028beda4b60f7a8d83e /drivers/unix/thread_posix.cpp
parent3a2e749a10da4f4b2a78ef437d3c2682967e51ee (diff)
parenta92c564a026b4e2beda1b41124f05b55dc0b48ee (diff)
Merge pull request #67242 from akien-mga/cleanup-unused-defines
Cleanup unused defines in platform code
Diffstat (limited to 'drivers/unix/thread_posix.cpp')
-rw-r--r--drivers/unix/thread_posix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/unix/thread_posix.cpp b/drivers/unix/thread_posix.cpp
index f6adbee108..5154feb478 100644
--- a/drivers/unix/thread_posix.cpp
+++ b/drivers/unix/thread_posix.cpp
@@ -28,7 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
-#if defined(UNIX_ENABLED) || defined(PTHREAD_ENABLED)
+#if defined(UNIX_ENABLED)
#include "thread_posix.h"
@@ -73,4 +73,4 @@ void init_thread_posix() {
Thread::_set_platform_functions({ .set_name = set_name });
}
-#endif // UNIX_ENABLED || PTHREAD_ENABLED
+#endif // UNIX_ENABLED