mirror of
https://git.freebsd.org/ports.git
synced 2025-05-29 09:26:27 -04:00
Firebird is a relational database offering many ANSI SQL-99 features that runs on Linux, Windows, and a variety of Unix platforms. Firebird offers excellent concurrency, high performance, and powerful language support for stored procedures and triggers. It has been used in production systems, under a variety of names since 1981. Firebird is completely free of any registration, licensing or deployment fees. It may be deployed freely for use with any third-party software, whether commercial or not. WWW: https://sourceforge.net/projects/firebird/ WWW: http://www.firebirdsql.org/ PR: 254387
25 lines
656 B
C
25 lines
656 B
C
--- src/remote/SockAddr.h.orig 2020-10-12 00:02:22 UTC
|
|
+++ src/remote/SockAddr.h
|
|
@@ -112,11 +112,13 @@ public:
|
|
|
|
#define AF_INET6_POSIX 10
|
|
#define AF_INET6_WINDOWS 23
|
|
+#define AF_INET6_BSD 28
|
|
#define AF_INET6_DARWIN 30
|
|
|
|
#if AF_INET6 == AF_INET6_POSIX
|
|
#elif AF_INET6 == AF_INET6_WINDOWS
|
|
#elif AF_INET6 == AF_INET6_DARWIN
|
|
+#elif AF_INET6 == AF_INET6_BSD
|
|
#else
|
|
#error Unknown value of AF_INET6 !
|
|
#endif
|
|
@@ -132,6 +134,7 @@ inline void SockAddr::checkAndFixFamily(
|
|
case AF_INET6_POSIX:
|
|
case AF_INET6_WINDOWS:
|
|
case AF_INET6_DARWIN:
|
|
+ case AF_INET6_BSD:
|
|
data.sock.sa_family = AF_INET6;
|
|
fb_assert(len == sizeof(sockaddr_in6));
|
|
break;
|
|
|