summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/pthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/include/pthread.h')
-rw-r--r--newlib/libc/include/pthread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/include/pthread.h b/newlib/libc/include/pthread.h
index de61bf535..8dc787244 100644
--- a/newlib/libc/include/pthread.h
+++ b/newlib/libc/include/pthread.h
@@ -44,7 +44,7 @@ extern "C" {
NOTE: RTEMS does not provide pthread_atfork(). */
-#if !defined(__rtems__)
+#if !defined(__rtems__) && !defined(__XMK__)
#warning "Add pthread_atfork() prototype"
#endif