aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMumit Khan <khan@xraylith.wisc.edu>1999-03-22 23:23:26 +0000
committerJeff Law <law@gcc.gnu.org>1999-03-22 16:23:26 -0700
commit58f4af8e849ecbcb3df98ce29e9b6351031385c4 (patch)
tree457450e4771fcb10e33bf10724263fcd7c92b790 /gcc
parent052dbd9e9983da53a3545cb2344a4d8c4d06484a (diff)
downloadgcc-58f4af8e849ecbcb3df98ce29e9b6351031385c4.zip
gcc-58f4af8e849ecbcb3df98ce29e9b6351031385c4.tar.gz
gcc-58f4af8e849ecbcb3df98ce29e9b6351031385c4.tar.bz2
sdbout.c (syms.h): Don't include on Interix.
* sdbout.c (syms.h): Don't include on Interix. * toplev.c (main): No sbrk on Interix. Co-Authored-By: Donn Terry <donn@interix.com> From-SVN: r25911
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/sdbout.c2
-rw-r--r--gcc/toplev.c4
3 files changed, 6 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index afae62d..5ee231b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,6 +1,9 @@
Mon Mar 22 23:52:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
Donn Terry <donn@interix.com>
+ * sdbout.c (syms.h): Don't include on Interix.
+ * toplev.c (main): No sbrk on Interix.
+
* configure.in: Add i386-pc-interix support.
* configure: Regenerate.
* fixinc.interix: New file.
diff --git a/gcc/sdbout.c b/gcc/sdbout.c
index e8640ff..470cca6 100644
--- a/gcc/sdbout.c
+++ b/gcc/sdbout.c
@@ -59,7 +59,7 @@ AT&T C compiler. From the example below I would conclude the following:
supply usable syms.h include files. Which syms.h file to use is a
target parameter so don't use the native one if we're cross compiling. */
-#if defined(USG) && !defined(MIPS) && !defined (hpux) && !defined(_WIN32) && !defined(__linux__) && !defined(CROSS_COMPILE)
+#if defined(USG) && !defined(MIPS) && !defined (hpux) && !defined(_WIN32) && !defined(__linux__) && !defined(__INTERIX) && !defined(CROSS_COMPILE)
#include <syms.h>
/* Use T_INT if we don't have T_VOID. */
#ifndef T_VOID
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 32d8342..0b413eb 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -5335,7 +5335,7 @@ main (argc, argv)
compile_file (filename);
-#if !defined(OS2) && !defined(VMS) && (!defined(_WIN32) || defined (__CYGWIN__))
+#if !defined(OS2) && !defined(VMS) && (!defined(_WIN32) || defined (__CYGWIN__)) && !defined(__INTERIX)
if (flag_print_mem)
{
char *lim = (char *) sbrk (0);
@@ -5351,7 +5351,7 @@ main (argc, argv)
#endif /* not USG */
#endif
}
-#endif /* ! OS2 && ! VMS && (! _WIN32 || CYGWIN) */
+#endif /* ! OS2 && ! VMS && (! _WIN32 || CYGWIN) && ! __INTERIX */
if (errorcount)
exit (FATAL_EXIT_CODE);