Module Name: src Committed By: christos Date: Sun Jan 25 20:45:18 UTC 2015
Modified Files: src/sys/sys: cdefs.h Log Message: add constcond To generate a diff of this commit: cvs rdiff -u -r1.123 -r1.124 src/sys/sys/cdefs.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/sys/cdefs.h diff -u src/sys/sys/cdefs.h:1.123 src/sys/sys/cdefs.h:1.124 --- src/sys/sys/cdefs.h:1.123 Sat Jan 24 13:07:37 2015 +++ src/sys/sys/cdefs.h Sun Jan 25 15:45:18 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: cdefs.h,v 1.123 2015/01/24 18:07:37 christos Exp $ */ +/* $NetBSD: cdefs.h,v 1.124 2015/01/25 20:45:18 christos Exp $ */ /* * Copyright (c) 1991, 1993 * The Regents of the University of California. All rights reserved. @@ -299,7 +299,7 @@ #if __GNUC_PREREQ__(4, 6) || defined(__clang__) #define __unreachable() __builtin_unreachable() #else -#define __unreachable() do {} while (0) +#define __unreachable() do {} while (/*CONSTCOND*/0) #endif #if defined(__cplusplus)