use compiler builtins for variadic macros when available
[oweals/musl.git] / arch / x86_64 / pthread_arch.h
index 40d267979b82ae4296566feacfa77a565d8747d6..c424493a350dd7420dbf5845b2f9462b56774a9d 100644 (file)
@@ -4,3 +4,6 @@ static inline struct pthread *__pthread_self()
        __asm__ ("movq %%fs:0,%0" : "=r" (self) );
        return self;
 }
+
+#define CANCEL_REG_SP 15
+#define CANCEL_REG_IP 16