1 /* auto-host_in.h: Define values for MSVC 6.0. During build this file
2 should be copied to 'auto-host.h'.
4 Copyright (C) 2002 Jesus Calvino-Fraga, jesusc@ieee.org
6 This program is free software; you can redistribute it and/or modify it
7 under the terms of the GNU General Public License as published by the
8 Free Software Foundation; either version 2, or (at your option) any
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.*/
28 #define HAVE_STRINGIZE
29 #define STDC_HEADERS 1
30 #define PACKAGE "sdcc"
33 #define inline __inline
37 #define HAVE_STRING_H 1
38 #define HAVE_SYS_STAT_H 1
39 #define HAVE_FCNTL_H 1
40 #define HAVE_STDLIB_H 1
41 #define HAVE_STDDEF_H 1
42 #define HAVE_LIMITS_H 1
50 /*So, which ones are the standard types? */
54 #define strdup _strdup
61 #define O_APPEND _O_APPEND
62 #define O_CREAT _O_CREAT
63 #define O_EXCL _O_EXCL
64 #define O_RDONLY _O_RDONLY
65 #define O_RDWR _O_RDWR
66 #define O_TRUNC _O_TRUNC
67 #define O_WRONLY _O_WRONLY
68 #define O_BINARY _O_BINARY
69 #define O_TEXT _O_TEXT
71 /*This one borrowed from \borland\bcc55\include\sys\stat.h*/
72 #define S_IFBLK 0x3000 /* block special */
74 /*If you want to see all the scary warnings remove these ones:*/
75 #pragma warning( disable : 4244 )
76 #pragma warning( disable : 4090 )
77 #pragma warning( disable : 4022 )