Debian Codegraph @

msdos/vs2008.h

raw
1 /********************************************
2 vs2008.h
3 copyright 2014, Thomas E. Dickey
4
5 This is a source file for mawk, an implementation of
6 the AWK programming language.
7
8 Mawk is distributed without warranty under the terms of
9 the GNU General Public License, version 2, 1991.
10 ********************************************/
11
12 /* Microsoft C++ Visual Studio 2008 */
13
14 /*
15 * $MawkId: vs2008.h,v 1.1 2014/09/14 22:30:20 tom Exp $
16 */
17
18 #ifndef CONFIG_H
19 #define CONFIG_H 1
20
21 #define HAVE_FCNTL_H 1
22
23 #define SIZE_T_STDDEF_H 1
24 #define MAX__INT 0x7fffffff
25 #define MAX__LONG 0x7fffffff
26 #define MAX__ULONG 0xffffffff
27 #define HAVE_FAKE_PIPES 1
28
29 #if HAVE_REARGV
30 #define SET_PROGNAME() reargv(&argc,&argv) ; progname = argv[0]
31 #else
32 #define SET_PROGNAME() progname = "mawk"
33 #endif
34
35 __declspec(noreturn)
36 void bozo(const char *);
37 __declspec(noreturn)
38 void mawk_exit(int);
39 __declspec(noreturn)
40 void RE_panic(const char *);
41 __declspec(noreturn)
42 void rt_error(const char *,...);
43
44 #include <io.h> /* isatty() */
45
46 #endif /* CONFIG_H */