* x86-tune-sched.c (ix86_adjust_cost): Fix Zen support.
[official-gcc.git] / gcc / config / i386 / xm-mingw32.h
blob6eb3a626f0c32688572b4c7985b4085bd1d5aafd
1 /* Configuration for GCC for hosting on Windows32.
2 using GNU tools and the Windows32 API Library.
3 Copyright (C) 1997-2017 Free Software Foundation, Inc.
5 This file is part of GCC.
7 GCC is free software; you can redistribute it and/or modify it under
8 the terms of the GNU General Public License as published by the Free
9 Software Foundation; either version 3, or (at your option) any later
10 version.
12 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
13 WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15 for more details.
17 You should have received a copy of the GNU General Public License
18 along with GCC; see the file COPYING3. If not see
19 <http://www.gnu.org/licenses/>. */
21 #define HOST_EXECUTABLE_SUFFIX ".exe"
23 #undef PATH_SEPARATOR
24 #define PATH_SEPARATOR ';'
26 /* This is the name of the null device on windows. */
27 #define HOST_BIT_BUCKET "nul"
29 /* The st_ino field of struct stat is always 0. */
30 #define HOST_LACKS_INODE_NUMBERS
32 #ifdef __MINGW32__
33 #undef __USE_MINGW_ANSI_STDIO
34 #define __USE_MINGW_ANSI_STDIO 1
35 #else
36 /* MSVCRT does not support the "ll" format specifier for printing
37 "long long" values. Instead, we use "I64". */
38 #define HOST_LONG_LONG_FORMAT "I64"
39 #endif
41 /* this is to prevent gcc-heap.c from assuming sizeof(long) == sizeof(intptr_t) */
42 #ifdef __x86_64__
43 # define HOST_BITS_PER_PTR 64
44 #endif