X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/ad3c9f2af814c84582fdd1649e49ec4f68572c5a..aa54d2fad3d9038b43475aa93c76795c5141a993:/gen/FreeBSD/sleep.c diff --git a/gen/FreeBSD/sleep.c b/gen/FreeBSD/sleep.c index 9d2095e..a04789d 100644 --- a/gen/FreeBSD/sleep.c +++ b/gen/FreeBSD/sleep.c @@ -27,10 +27,9 @@ * SUCH DAMAGE. */ -#ifdef VARIANT_CANCELABLE -#undef __DARWIN_NON_CANCELABLE -#define __DARWIN_NON_CANCELABLE 0 -#endif /* VARIANT_CANCELABLE */ +#if defined(VARIANT_CANCELABLE) && __DARWIN_NON_CANCELABLE != 0 +#error cancellable call vs. __DARWIN_NON_CANCELABLE mismatch +#endif #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)sleep.c 8.1 (Berkeley) 6/4/93";