* 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
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.
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
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);
#endif /* not USG */
#endif
}
-#endif /* ! OS2 && ! VMS && (! _WIN32 || CYGWIN) */
+#endif /* ! OS2 && ! VMS && (! _WIN32 || CYGWIN) && ! __INTERIX */
if (errorcount)
exit (FATAL_EXIT_CODE);