aboutsummaryrefslogtreecommitdiff
path: root/gdb/nlm/prelude.c
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@acorntoolworks.com>1994-08-24 00:58:42 +0000
committerJ.T. Conklin <jtc@acorntoolworks.com>1994-08-24 00:58:42 +0000
commit86165efce578a0e5a8c8265a8e668498fab318ea (patch)
tree710c6b6de847bcaf49c42d2340a295dfd57d933a /gdb/nlm/prelude.c
parent513d7836d0a4de7a8f6726adfc178ae4f3032baf (diff)
downloadgdb-86165efce578a0e5a8c8265a8e668498fab318ea.zip
gdb-86165efce578a0e5a8c8265a8e668498fab318ea.tar.gz
gdb-86165efce578a0e5a8c8265a8e668498fab318ea.tar.bz2
* nlm/gdbserve.c: conditionalize header file inclusion for either
NetWare 4.0 or PIN targets. * nlm/i386.c: include appropriate header files. * nlm/prelude.c: define TERMINATE_BY_UNLOAD for NetWare 4.0 targets.
Diffstat (limited to 'gdb/nlm/prelude.c')
-rw-r--r--gdb/nlm/prelude.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/gdb/nlm/prelude.c b/gdb/nlm/prelude.c
index e3207c2..37e12c8 100644
--- a/gdb/nlm/prelude.c
+++ b/gdb/nlm/prelude.c
@@ -12,9 +12,14 @@
= be distributed with CLib.NLM and its headers.
==============================================================================
*/
+
+#include <stddef.h>
+#if defined(__netware__) && defined(__i386__)
+#define TERMINATE_BY_UNLOAD 5
+#else
#include <nwpre.h>
+#endif
/*#include "libhooks.h"*/
-#include <stddef.h>
extern int main (int, char **);