summaryrefslogtreecommitdiff
path: root/gcc/config/i386/xm-i386-interix.h
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-04-10 05:15:27 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-04-10 05:15:27 +0000
commit9f6c9157d815609109b1ecca8b7ac15e4920437e (patch)
tree1658d02bdb0e2ff49b0121f63d37ea8e973a87d8 /gcc/config/i386/xm-i386-interix.h
parent05630b76e736210be5c5fd67d7c8a0ee3480392e (diff)
downloadgcc-9f6c9157d815609109b1ecca8b7ac15e4920437e.tar.gz
* i386/t-interix: Use mostly system headers unchanged.
Use system assert.h * fixinc/fixinc.interix: Ditto (make almost no-op). * config/x-interix.h (_ALL_SOURCE): add -D * config/x-interix.h (crti.o): Delete dependency. * config/xm-interix.h (ONLY_INT_FIELDS): Define only when bootstrapping. * i386/xm-i386-interix.h: New file. * i386/interix.h (ASM_OUTPUT_LIMITED_STRING): Fix warnings. * i386/i386-interix.h: Renamed from interix.h. * configure.in (interix): Use new files. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26332 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/xm-i386-interix.h')
-rw-r--r--gcc/config/i386/xm-i386-interix.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/gcc/config/i386/xm-i386-interix.h b/gcc/config/i386/xm-i386-interix.h
new file mode 100644
index 00000000000..8bfd5e2d915
--- /dev/null
+++ b/gcc/config/i386/xm-i386-interix.h
@@ -0,0 +1,34 @@
+/* Configuration for GNU compiler
+ for an Intel i386 or later processor running Interix.
+ Copyright (C) 1999 Free Software Foundation, Inc.
+ Contributed by Donn Terry (donn@interix.com)
+ Derived from code by Douglas B. Rupp (drupp@cs.washington.edu)
+
+This file is part of GNU CC.
+
+GNU CC is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU CC is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU CC; see the file COPYING. If not, write to
+the Free Software Foundation, 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA. */
+
+#include <i386/xm-i386.h>
+
+#define HOST_BITS_PER_WIDEST_INT HOST_BITS_PER_LONGLONG
+#ifdef __GNUC__
+# define HOST_WIDEST_INT long long
+#else
+# define HOST_WIDEST_INT __int64
+#endif
+#define HOST_WIDEST_INT_PRINT_DEC "%lld"
+#define HOST_WIDEST_INT_PRINT_UNSIGNED "%llu"
+#define HOST_WIDEST_INT_PRINT_HEX "0x%llx"