diff options
Diffstat (limited to 'defines.h')
-rw-r--r-- | defines.h | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -25,9 +25,6 @@ | |||
25 | #ifndef _DEFINES_H | 25 | #ifndef _DEFINES_H |
26 | #define _DEFINES_H | 26 | #define _DEFINES_H |
27 | 27 | ||
28 | /* $Id: defines.h,v 1.183 2014/09/02 19:33:26 djm Exp $ */ | ||
29 | |||
30 | |||
31 | /* Constants */ | 28 | /* Constants */ |
32 | 29 | ||
33 | #if defined(HAVE_DECL_SHUT_RD) && HAVE_DECL_SHUT_RD == 0 | 30 | #if defined(HAVE_DECL_SHUT_RD) && HAVE_DECL_SHUT_RD == 0 |
@@ -836,6 +833,13 @@ struct winsize { | |||
836 | #endif | 833 | #endif |
837 | 834 | ||
838 | /* | 835 | /* |
836 | * We want functions in openbsd-compat, if enabled, to override system ones. | ||
837 | * We no-op out the weak symbol definition rather than remove it to reduce | ||
838 | * future sync problems. | ||
839 | */ | ||
840 | #define DEF_WEAK(x) | ||
841 | |||
842 | /* | ||
839 | * Platforms that have arc4random_uniform() and not arc4random_stir() | 843 | * Platforms that have arc4random_uniform() and not arc4random_stir() |
840 | * shouldn't need the latter. | 844 | * shouldn't need the latter. |
841 | */ | 845 | */ |