summaryrefslogtreecommitdiff
path: root/pr/tests/affinity.c
diff options
context:
space:
mode:
Diffstat (limited to 'pr/tests/affinity.c')
-rw-r--r--pr/tests/affinity.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/pr/tests/affinity.c b/pr/tests/affinity.c
index 513775f7..ee78434a 100644
--- a/pr/tests/affinity.c
+++ b/pr/tests/affinity.c
@@ -40,6 +40,7 @@
#include <stdlib.h>
#include <string.h>
+#ifndef XP_BEOS
/*
* Test PR_GetThreadAffinityMask
@@ -109,3 +110,12 @@ int main(int argc, char **argv)
return 0;
}
+
+#else /* !XP_BEOS */
+
+int main()
+{
+ printf( "This test is not supported on the BeOS\n" );
+ return 0;
+}
+#endif /* !XP_BEOS */