mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
40081c11c4
Library from "C Interfaces and Implementations" by David Hanson. PR: 6504 Submitted by: J Han <hjh@photino.com>
12 lines
351 B
Plaintext
12 lines
351 B
Plaintext
--- src/thread.c.orig Wed Nov 5 15:03:00 1997
|
|
+++ src/thread.c Sat Jan 9 18:44:09 1999
|
|
@@ -269,7 +269,7 @@
|
|
*--t->sp = (unsigned long)_start - 8;
|
|
*--t->sp = (unsigned long)fp;
|
|
t->sp -= 64/4; }
|
|
-#elif linux && i386
|
|
+#elif (linux || unix) && i386
|
|
{ extern void _thrstart(void);
|
|
t->sp -= 4/4;
|
|
*t->sp = (unsigned long)_thrstart;
|