aboutsummaryrefslogtreecommitdiff
path: root/gdb/29k-share
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/29k-share')
-rw-r--r--gdb/29k-share/udi/udip2soc.c4
-rw-r--r--gdb/29k-share/udi/udr.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/29k-share/udi/udip2soc.c b/gdb/29k-share/udi/udip2soc.c
index d0547da..96ae2e3 100644
--- a/gdb/29k-share/udi/udip2soc.c
+++ b/gdb/29k-share/udi/udip2soc.c
@@ -24,6 +24,9 @@ static char udip2soc_c_AMD[]="@(#)udip2soc.c 2.8, AMD";
* It is used by DFE client processes
********************************************************************** HISTORY
*/
+/* This is all unneeded on DOS machines. */
+#ifndef __GO32__
+
#include <stdio.h>
#include <string.h>
@@ -1245,3 +1248,4 @@ UDIUInt32 UDIGetDFEIPCId()
{
return ((company_c << 16) + (product_c << 12) + version_c);
}
+#endif /* __GO32__ */
diff --git a/gdb/29k-share/udi/udr.c b/gdb/29k-share/udi/udr.c
index 1e58eda..4722a4f 100644
--- a/gdb/29k-share/udi/udr.c
+++ b/gdb/29k-share/udi/udr.c
@@ -26,6 +26,9 @@ static char udr_c_AMD[]="@(#)udr.c 2.3, AMD";
* and de-serialised back into the approproiate objects.
********************************************************************** HISTORY
*/
+/* This is all unneeded on DOS machines. */
+#ifndef __GO32__
+
#include <stdio.h>
#include <sys/types.h>
@@ -421,3 +424,4 @@ int size;
offset = offset & (size -1);
if(offset) udr_setpos(udrs, align + offset);
}
+#endif /* __GO32__ */