Files
pkgsrc-ng/net/libquic/patches/patch-crypto__bio__bio_test.cc
2016-11-18 22:39:22 +01:00

17 lines
479 B
C++

$NetBSD: patch-crypto__bio__bio_test.cc,v 1.1 2016/07/01 20:32:35 agc Exp $
NetBSD portability patches
--- boringssl/crypto/bio/bio_test.cc.orig 2015-12-30 15:55:50.000000000 -0800
+++ boringssl/crypto/bio/bio_test.cc 2015-12-30 18:06:05.000000000 -0800
@@ -13,7 +13,9 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
#if !defined(_POSIX_C_SOURCE)
+# if !defined(__NetBSD__)
#define _POSIX_C_SOURCE 201410L
+# endif
#endif
#include <openssl/base.h>