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