diff options
Diffstat (limited to 'defines.h')
-rw-r--r-- | defines.h | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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.173 2013/11/03 07:43:55 dtucker Exp $ */ | 28 | /* $Id: defines.h,v 1.174 2013/11/07 02:28:16 djm Exp $ */ |
29 | 29 | ||
30 | 30 | ||
31 | /* Constants */ | 31 | /* Constants */ |
@@ -810,4 +810,13 @@ struct winsize { | |||
810 | # endif | 810 | # endif |
811 | #endif | 811 | #endif |
812 | 812 | ||
813 | /* | ||
814 | * Platforms that have arc4random_uniform() and not arc4random_stir() | ||
815 | * shouldn't need the latter. | ||
816 | */ | ||
817 | #if defined(HAVE_ARC4RANDOM) && defined(HAVE_ARC4RANDOM_UNIFORM) && \ | ||
818 | !defined(HAVE_ARC4RANDOM_STIR) | ||
819 | # define arc4random_stir() | ||
820 | #endif | ||
821 | |||
813 | #endif /* _DEFINES_H */ | 822 | #endif /* _DEFINES_H */ |