cmAffinity: Fix compilation in native Android builds

Fixes: #26516
This commit is contained in:
Brad King committed 2024-12-10 08:44:08 -05:00
1 parent a2c30a4eeb
commit f3ecddbaa2
1 file changed
+1 -1
+1 -1
View File
@@ -8,7 +8,7 @@
# ifdef _WIN32
# define CM_HAVE_CPU_AFFINITY
# include <windows.h>
# elif defined(__linux__) || defined(__FreeBSD__)
# elif (defined(__linux__) && !defined(__ANDROID__)) || defined(__FreeBSD__)
# define CM_HAVE_CPU_AFFINITY
# include <pthread.h>
# include <sched.h>