diff options
| author | christos <christos@NetBSD.org> | 2017-01-13 14:41:27 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2017-01-13 14:41:27 +0000 |
| commit | 8e826937afb9c333f92b88d5d2b0fe5474ad58a2 (patch) | |
| tree | 17fc48ba05a2d205a48845670750b057c75dbb1c /lib/libc/include | |
| parent | 9e697405a31f49ce815d4e9f6f1292f45e10b51c (diff) | |
allow overriding snprintf/vsnprintf
Diffstat (limited to 'lib/libc/include')
| -rw-r--r-- | lib/libc/include/namespace.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/include/namespace.h b/lib/libc/include/namespace.h index fe13b3300c4..538b628f99b 100644 --- a/lib/libc/include/namespace.h +++ b/lib/libc/include/namespace.h @@ -1,4 +1,4 @@ -/* $NetBSD: namespace.h,v 1.184 2017/01/12 18:16:52 christos Exp $ */ +/* $NetBSD: namespace.h,v 1.185 2017/01/13 14:41:27 christos Exp $ */ /*- * Copyright (c) 1997-2004 The NetBSD Foundation, Inc. @@ -626,7 +626,7 @@ #define sl_free _sl_free #define sl_init _sl_init #define sleep _sleep -#if __SSP_FORTIFY_LEVEL == 0 +#if __SSP_FORTIFY_LEVEL == 0 && !defined(snprintf) #define snprintf _snprintf #endif #define snprintf_l _snprintf_l @@ -736,7 +736,7 @@ #define vasprintf _vasprintf #define vasprintf_l _vasprintf_l #define vdprintf _vdprintf -#if __SSP_FORTIFY_LEVEL == 0 +#if __SSP_FORTIFY_LEVEL == 0 && !defined(vsnprintf) #define vsnprintf _vsnprintf #endif #define vdprintf_l _vdprintf_l |
