HPUX patches from Vladimir Turin.

This commit is contained in:
Bruce Momjian 1997-09-29 03:27:18 +00:00
parent a638f6625b
commit 4b9fb26648
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
#define JMP_BUF
#define USE_POSIX_TIME
#define USE_POSIX_SIGNALS
#define HAS_TEST_AND_SET
typedef struct
{

View File

@ -1,7 +1,7 @@
HPUX_MAJOR= $(shell uname -r|sed 's/^[^.]*\.\([^.]*\).*/\1/')
# HP-UX 10 has a select() in libcurses, so we need to get the libc version first
ifeq ($(HPUX_MAJOR), 10)
LDFLAGS:= -lc $(LDFLAGS)
LDFLAGS:= -Wl,-E -lc $(LDFLAGS)
endif
# Does anyone use this stuff?