]> git.saurik.com Git - apple/libc.git/blobdiff - gen/FreeBSD/sleep.c
Libc-1439.100.3.tar.gz
[apple/libc.git] / gen / FreeBSD / sleep.c
index 9d2095e356ecc4bb437816b3d9befa4c70f3ceee..a04789da6376f537ffb9b58f0cb6672f1b0d5931 100644 (file)
  * 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";