Add HAVE_PORT_H, HAVE_PORT_CREATE (GH PR #10)

This commit is contained in:
Fred Helmesjö 2022-09-01 08:55:13 +02:00 committed by Boris Kolpackov
parent 858a6d0bf2
commit 0b15ad17b9
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,14 @@
// HAVE_PORT_CREATE : BUILD2_AUTOCONF_LIBC_VERSION
#ifndef BUILD2_AUTOCONF_LIBC_VERSION
# error BUILD2_AUTOCONF_LIBC_VERSION appears to be conditionally included
#endif
#undef HAVE_PORT_CREATE
/* Since Solaris version ... (?). No version details in manual.
*/
#if (defined(__sun) && defined(__SVR4)) || \
defined(__sun__)
# define HAVE_PORT_CREATE 1
#endif

View File

@ -0,0 +1,14 @@
// HAVE_PORT_H : BUILD2_AUTOCONF_LIBC_VERSION
#ifndef BUILD2_AUTOCONF_LIBC_VERSION
# error BUILD2_AUTOCONF_LIBC_VERSION appears to be conditionally included
#endif
#undef HAVE_PORT_H
/* Since Solaris version ... (?). No version details in manual.
*/
#if (defined(__sun) && defined(__SVR4)) || \
defined(__sun__)
# define HAVE_PORT_H 1
#endif