Added NEED_UNION_SEMUN to config.h

This commit is contained in:
Marc G. Fournier 1996-10-02 20:42:20 +00:00
parent 22ef6d06fc
commit 0fadfc00ad
1 changed files with 20 additions and 0 deletions

View File

@ -15,6 +15,7 @@
# define NO_UNISTD_H
# define USES_WINSOCK
# define NOFILE 100
# define NEED_UNION_SEMUN
#endif /* WIN32 */
#if defined(__FreeBSD__) || defined(__NetBSD__)
@ -23,6 +24,7 @@
#if defined(bsdi)
# define USE_LIMITS_H
# define NEED_UNION_SEMUN
#endif
#if defined(bsdi_2_1)
@ -31,12 +33,30 @@
#if defined(aix)
# define NEED_SYS_SELECT_H
# define NEED_UNION_SEMUN
#endif
#if defined(irix5)
# define NO_VFORK
#endif
/*
* On architectures for which we have not implemented spinlocks (or
* cannot do so), we use System V semaphores. We also use them for
* long locks. For some reason union semun is never defined in the
* System V header files so we must do it ourselves.
*/
#if defined(sequent) || \
defined(PORTNAME_alpha) || \
defined(PORTNAME_hpux) || \
defined(PORTNAME_dgux) || \
defined(PORTNAME_i386_solaris) || \
defined(PORTNAME_sparc_solaris) || \
defined(PORTNAME_ultrix4) || \
defined(PORTNAME_svr4) || \
#define NEED_UNION_SEMUN
#endif
/* Debug and various "defines" that should be documented */
/* found in function aclparse() in src/backend/utils/adt/acl.c */