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
This commit is contained in:
Mumit Khan 1999-03-22 23:23:26 +00:00 committed by Jeff Law
parent 052dbd9e99
commit 58f4af8e84
3 changed files with 6 additions and 3 deletions

View File

@ -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.

View File

@ -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

View File

@ -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);