summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h20
1 files changed, 1 insertions, 19 deletions
diff --git a/defines.h b/defines.h
index 928bd9b01..9e383020b 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.178 2014/04/30 16:24:35 dtucker Exp $ */ 28/* $Id: defines.h,v 1.179 2014/05/15 04:37:04 djm Exp $ */
29 29
30 30
31/* Constants */ 31/* Constants */
@@ -826,22 +826,4 @@ struct winsize {
826# define arc4random_stir() 826# define arc4random_stir()
827#endif 827#endif
828 828
829/* Macro to test if we're using a specific version of gcc or later. */
830#if defined(__GNUC__) && !defined(__GNUC_PREREQ__)
831#define __GNUC_PREREQ__(ma, mi) \
832 ((__GNUC__ > (ma)) || (__GNUC__ == (ma) && __GNUC_MINOR__ >= (mi)))
833#else
834#define __GNUC_PREREQ__(ma, mi) 0
835#endif
836
837/* __bounded macro */
838#ifndef __bounded
839# if defined(__GNUC__) && __GNUC_PREREQ__(3,3) && !defined(__clang__)
840# define __bounded(args) __attribute__ ((__bounded__ args ))
841# else
842# define __bounded(args) /* delete */
843# endif /* __GNUC_PREREQ__(3,3) && !defined(__clang__) */
844#endif
845
846
847#endif /* _DEFINES_H */ 829#endif /* _DEFINES_H */