Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9f2d714

Browse files
committed
From: "Paul M. Aoki" <aoki@CS.Berkeley.EDU>
Subject: [PATCHES] port patch: ultrix4ultrix4 doesn't compile without this. this also fixes a problemwith dynamic loading (ultrix relocatable objects must be loadedwith -G 0).
1 parenta5d7eb9 commit9f2d714

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

‎src/include/port/ultrix4.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# defineUSE_POSIX_TIME
22
# defineNEED_STRDUP
33

4+
#ifndefBYTE_ORDER
5+
#defineBYTE_ORDERLITTLE_ENDIAN
6+
#endif
7+
48
/*
59
* Except for those system calls and library functions that are either
610
* - covered by the C standard library and Posix.1
@@ -54,5 +58,6 @@ extern int gettimeofday(struct timeval *, struct timezone *);
5458
externintfsync(int);
5559
externintftruncate(int,off_t);
5660

57-
/* End of ultrix4.h */
61+
externchar*crypt(char*,char*);
5862

63+
/* End of ultrix4.h */

‎src/makefiles/Makefile.ultrix4

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
11
# install creates intermediate directories
22
NO_BEFOREINSTL= true
3+
SHELL=/bin/sh5
4+
5+
#
6+
# "-G 0" works for both DEC cc and GNU cc.
7+
#
8+
%.so: %.c
9+
$(CC) -c -G 0 $(CFLAGS) -o $@ $<

‎src/template/ultrix4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ ALL:
55
SRCH_INC:
66
SRCH_LIB:
77
USE_LOCALE:no
8-
DLSUFFIX:.o
8+
DLSUFFIX:.so
99
YFLAGS:-d
1010
YACC:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp