summaryrefslogtreecommitdiff
path: root/drivers/unix
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-10-11 11:52:41 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-10-11 11:52:41 +0200
commita92c564a026b4e2beda1b41124f05b55dc0b48ee (patch)
tree8de88bc754a4db780cefb3584825408d1c2e3118 /drivers/unix
parente413d1c9c35bec80f7244772bd63a3269f56c5a2 (diff)
Cleanup unused defines in platform code
Diffstat (limited to 'drivers/unix')
-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