svn commit: r307870 - head/lib/libnetbsd/sys
Marcel Moolenaar
marcel at FreeBSD.org
Mon Oct 24 17:56:09 UTC 2016
Author: marcel
Date: Mon Oct 24 17:56:08 2016
New Revision: 307870
URL: https://svnweb.freebsd.org/changeset/base/307870
Log:
When compiling on macOS or Linux, __dead can be defined already.
Conditionally define __dead.
Modified:
head/lib/libnetbsd/sys/cdefs.h
Modified: head/lib/libnetbsd/sys/cdefs.h
==============================================================================
--- head/lib/libnetbsd/sys/cdefs.h Mon Oct 24 17:37:21 2016 (r307869)
+++ head/lib/libnetbsd/sys/cdefs.h Mon Oct 24 17:56:08 2016 (r307870)
@@ -35,11 +35,13 @@
#include_next <sys/cdefs.h>
+#ifndef __dead
#ifdef __dead2
#define __dead __dead2
#else
#define __dead
#endif
+#endif /* !__dead */
/*
* The __CONCAT macro is used to concatenate parts of symbol names, e.g.
More information about the svn-src-head
mailing list