From: "Paul M. Aoki" <aoki@CS.Berkeley.EDU>

Subject: [PATCHES] port patch: ultrix4

ultrix4 doesn't compile without this.  this also fixes a problem
with dynamic loading (ultrix relocatable objects must be loaded
with -G 0).
This commit is contained in:
Marc G. Fournier 1997-05-07 03:12:46 +00:00
parent a5d7eb90a8
commit 9f2d714620
3 changed files with 14 additions and 2 deletions

View File

@ -1,6 +1,10 @@
# define USE_POSIX_TIME
# define NEED_STRDUP
#ifndef BYTE_ORDER
#define BYTE_ORDER LITTLE_ENDIAN
#endif
/*
* Except for those system calls and library functions that are either
* - covered by the C standard library and Posix.1
@ -54,5 +58,6 @@ extern int gettimeofday(struct timeval *, struct timezone *);
extern int fsync(int);
extern int ftruncate(int, off_t);
/* End of ultrix4.h */
extern char *crypt(char *, char *);
/* End of ultrix4.h */

View File

@ -1,2 +1,9 @@
# install creates intermediate directories
NO_BEFOREINSTL= true
SHELL=/bin/sh5
#
# "-G 0" works for both DEC cc and GNU cc.
#
%.so: %.c
$(CC) -c -G 0 $(CFLAGS) -o $@ $<

View File

@ -5,6 +5,6 @@ ALL:
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.o
DLSUFFIX:.so
YFLAGS:-d
YACC: