mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-20 21:33:57 -07:00
update controller image and some dependencies
This commit is contained in:
parent
c1384422c3
commit
183a9d7088
667 changed files with 173907 additions and 17 deletions
14
ext/libpqxx-7.7.3/config-tests/strerror_r.cxx
Normal file
14
ext/libpqxx-7.7.3/config-tests/strerror_r.cxx
Normal file
|
@ -0,0 +1,14 @@
|
|||
// Check for strerror_r.
|
||||
// It can be either the POSIX version (which returns int) or the GNU version
|
||||
// (which returns char *).
|
||||
|
||||
#include <cstring>
|
||||
#include <type_traits>
|
||||
|
||||
int main()
|
||||
{
|
||||
char buffer[200];
|
||||
auto res{strerror_r(1, buffer, 200)};
|
||||
// Sidestep type differences. We don't really care what the value is.
|
||||
return not not res;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue