summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2004-06-22 13:27:16 +1000
committerDarren Tucker <dtucker@zip.com.au>2004-06-22 13:27:16 +1000
commit59bf4a9bd44ce2c719437c74bd1e8e73b57d3c4a (patch)
tree178a546950b8f2bc08f972fcad10f6f5c4fd772c /defines.h
parent5e4e272e8d4717ea71cd383e9922996e578cfcc8 (diff)
- (dtucker) [defines.h] Define __dead if not already defined.
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/defines.h b/defines.h
index 73a45fe44..8c1d9c409 100644
--- a/defines.h
+++ b/defines.h
@@ -25,7 +25,7 @@
25#ifndef _DEFINES_H 25#ifndef _DEFINES_H
26#define _DEFINES_H 26#define _DEFINES_H
27 27
28/* $Id: defines.h,v 1.116 2004/06/15 00:34:08 djm Exp $ */ 28/* $Id: defines.h,v 1.117 2004/06/22 03:27:16 dtucker Exp $ */
29 29
30 30
31/* Constants */ 31/* Constants */
@@ -424,6 +424,10 @@ struct winsize {
424# define __attribute__(x) 424# define __attribute__(x)
425#endif /* !defined(__GNUC__) || (__GNUC__ < 2) */ 425#endif /* !defined(__GNUC__) || (__GNUC__ < 2) */
426 426
427#ifndef __dead
428# define __dead __attribute__((noreturn))
429#endif
430
427/* *-*-nto-qnx doesn't define this macro in the system headers */ 431/* *-*-nto-qnx doesn't define this macro in the system headers */
428#ifdef MISSING_HOWMANY 432#ifdef MISSING_HOWMANY
429# define howmany(x,y) (((x)+((y)-1))/(y)) 433# define howmany(x,y) (((x)+((y)-1))/(y))