summaryrefslogtreecommitdiff
path: root/ACE-INSTALL.html
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-02-27 22:00:10 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-02-27 22:00:10 +0000
commitde3c4c1f019d52af13146781f2f93adef7fcc80c (patch)
tree69c732a939a2041ac69d7b437f82d5ad6d364ace /ACE-INSTALL.html
parentf34b678d36163e0250da3bc42c42abdfea55fdee (diff)
downloadATCD-de3c4c1f019d52af13146781f2f93adef7fcc80c.tar.gz
update Linux posix_types.h patch
Diffstat (limited to 'ACE-INSTALL.html')
-rw-r--r--ACE-INSTALL.html64
1 files changed, 32 insertions, 32 deletions
diff --git a/ACE-INSTALL.html b/ACE-INSTALL.html
index babcbf3e457..d39b960783f 100644
--- a/ACE-INSTALL.html
+++ b/ACE-INSTALL.html
@@ -247,21 +247,21 @@ the <code>platform_linux.GNu</code>. Otherwise, this patch can be
applied to the binutils gas source. Then, rebuild and install as.<p>
<pre>
-//--- ecoff.c.ORIGINAL Mon May 26 12:32:47 1997
-//+++ ecoff.c Thu Jan 15 09:21:08 1998
-//@@ -769,7 +769,11 @@
-// can't be represented (assuming there are strings &gt; 4096 bytes). */
-//
-// #ifndef PAGE_SIZE
-//-#define PAGE_SIZE 4096 /* size of varray pages */
-//+// Thu Jan 15 09:21:03 CST 1998 David L. Levine &lt;levine@cs.wustl.edu&gt;
-//+// Raised PAGE_SIZE to 8192 from 4096 to avoid "String too big"
-//+// errors on Linux/Alpha, with -g. The OS page size is 8192, so this
-//+// should be OK.
-//+#define PAGE_SIZE 8192 /* size of varray pages */
-// #endif
-//
-// #define PAGE_USIZE ((unsigned long) PAGE_SIZE)
+--- ecoff.c.ORIGINAL Mon May 26 12:32:47 1997
++++ ecoff.c Thu Jan 15 09:21:08 1998
+@@ -769,7 +769,11 @@
+ can't be represented (assuming there are strings &gt; 4096 bytes). */
+
+ #ifndef PAGE_SIZE
+-#define PAGE_SIZE 4096 /* size of varray pages */
++// Thu Jan 15 09:21:03 CST 1998 David L. Levine &lt;levine@cs.wustl.edu&gt;
++// Raised PAGE_SIZE to 8192 from 4096 to avoid "String too big"
++// errors on Linux/Alpha, with -g. The OS page size is 8192, so this
++// should be OK.
++#define PAGE_SIZE 8192 /* size of varray pages */
+ #endif
+
+ #define PAGE_USIZE ((unsigned long) PAGE_SIZE)
</pre><p>
In addition, you'll need to patch
@@ -269,23 +269,23 @@ In addition, you'll need to patch
to avoid compilation errors:<p>
<pre>
-//--- posix_types.h.ORIGINAL Wed Nov 12 12:01:56 1997
-//+++ posix_types.h Wed Jan 14 13:07:47 1998
-//@@ -41,9 +41,13 @@
-// #undef __FDMASK
-// #define __FDMASK(d) (1UL &lt;&lt; ((d) % __NFDBITS))
-//
-//-typedef struct fd_set {
-//+#include &lt;gnu/types.h&gt;
-//+typedef __fd_set __kernel_fd_set;
-//+#if 0
-//+typedef struct kernel_fd_set {
-// unsigned long fds_bits [__FDSET_LONGS];
-// } __kernel_fd_set;
-//+#endif
-//
-// /* Type of a signal handler. */
-// typedef void (*__kernel_sighandler_t)(int);
+--- posix_types.h.ORIGINAL Wed Nov 12 12:01:56 1997
++++ posix_types.h Fri Feb 27 14:13:16 1998
+@@ -41,9 +41,14 @@
+ #undef __FDMASK
+ #define __FDMASK(d) (1UL &lt;&lt; ((d) % __NFDBITS))
+
++#if defined (__KERNEL__)
+ typedef struct fd_set {
+ unsigned long fds_bits [__FDSET_LONGS];
+ } __kernel_fd_set;
++#else /* ! __KERNEL__ */
++#include &lt;gnu/types.h&gt;
++typedef __fd_set __kernel_fd_set;
++#endif /* ! __KERNEL__ */
+
+ /* Type of a signal handler. */
+ typedef void (*__kernel_sighandler_t)(int);
</pre><p>
Finally, on Alpha only, I removed wrapsyscall from the LinuxThreads