提交 9f2d7146 编写于 作者: M Marc G. Fournier

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).
上级 a5d7eb90
# 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 */
# 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 $@ $<
......@@ -5,6 +5,6 @@ ALL:
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.o
DLSUFFIX:.so
YFLAGS:-d
YACC:
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册