Sebastian Falbesoner 0fbf051fec depends: fix BDB compilation on OpenBSD
Compiling C++ code with `-D_XOPEN_SOURCE=600` causes problems on
OpenBSD. If that define is set, the C++ standard header detection
routine in BDB's configure script fails. This results in
`HAVE_CXX_STDHEADERS` not being defined, which then it turn leads to
the inclusion of `<iostream.h>` (rather than `<iostream>`), which
doesn't exist.

According to a mailing list post discussing a similar problem [1],
"OpenBSD provides the POSIX APIs by default", so we don't need this
define anyway and can remove it. This fixes the BDB build problem as
described in issue #28963.

Tested on OpenBSD 7.4 with clang 13.0.0.

[1] https://www.mail-archive.com/tech@openbsd.org/msg63386.html
2024-02-18 01:57:16 +01:00
..
2024-02-18 01:57:16 +01:00
2023-12-12 13:58:38 +00:00
2021-12-03 14:07:10 +08:00
2023-04-04 10:07:41 +01:00
2021-12-03 14:07:10 +08:00
2022-07-29 14:02:23 +01:00
2023-03-23 10:31:25 +00:00
2023-07-18 11:27:24 +01:00
2021-12-03 14:07:09 +08:00
2023-10-24 12:11:11 +01:00