HGM fixed cygwin compile for winboard
[xboard.git] / winboard / config.h
1 /* config.h.in.  Generated automatically from configure.in by autoheader.  */\r
2 \r
3 /* Define if you have <sys/wait.h> that is POSIX.1 compatible.  */\r
4 /*#undef HAVE_SYS_WAIT_H*/\r
5 \r
6 /* Define if you need to in order for stat and other things to work.  */\r
7 /*#undef _POSIX_SOURCE*/\r
8 \r
9 /* Define as the return type of signal handlers (int or void).  */\r
10 /*#undef RETSIGTYPE*/\r
11 \r
12 /* Define if you have the ANSI C header files.  */\r
13 #define STDC_HEADERS 1\r
14 \r
15 /* Define if you can safely include both <sys/time.h> and <time.h>.  */\r
16 /*#undef TIME_WITH_SYS_TIME*/\r
17 \r
18 /* Define if lex declares yytext as a char * by default, not a char[].  */\r
19 /*#undef YYTEXT_POINTER*/\r
20 \r
21 /*#define FIRST_PTY_LETTER 'p'*/\r
22 \r
23 #define HAVE_FCNTL_H 1\r
24 \r
25 #define HAVE_GETHOSTNAME 0\r
26 \r
27 #define HAVE_GETTIMEOFDAY 0\r
28 \r
29 /* Use our own random() defined in winboard.c. */\r
30 #define HAVE_RANDOM 0\r
31 \r
32 #define HAVE_SYS_SOCKET_H 0\r
33 \r
34 /*#undef IBMRTAIX*/\r
35 \r
36 #define LAST_PTY_LETTER 'q'\r
37 \r
38 #define PATCHLEVEL "8pre"\r
39 \r
40 #define PRODUCT "WinBoard"\r
41 \r
42 #define PTY_ITERATION\r
43 \r
44 #define PTY_NAME_SPRINTF\r
45 \r
46 #define PTY_TTY_NAME_SPRINTF\r
47 \r
48 #define REMOTE_SHELL ""\r
49 \r
50 /*#undef RTU*/\r
51 \r
52 /*#undef UNIPLUS*/\r
53 \r
54 #define USE_PTYS 0\r
55 \r
56 #define VERSION "4.2"\r
57 \r
58 /*#undef X_WCHAR*/\r
59 \r
60 #ifndef __BORLANDC__\r
61 #define WIN32 1\r
62 #else\r
63 #define WIN32\r
64 #endif\r
65 \r
66 #define ZIPPY 1\r
67 \r
68 /* Define if you have the _getpty function.  */\r
69 /*#undef HAVE__GETPTY*/\r
70 \r
71 /* Define if you have the ftime function.  */\r
72 #define HAVE_FTIME 1\r
73 \r
74 /* Define if you have the grantpt function.  */\r
75 /*#undef HAVE_GRANTPT*/\r
76 \r
77 /* Define if you have the rand48 function.  */\r
78 /*#undef HAVE_RAND48*/\r
79 \r
80 /* Define if you have the sysinfo function.  */\r
81 /*#undef HAVE_SYSINFO*/\r
82 \r
83 /* Define if you have the <lan/socket.h> header file.  */\r
84 /*#undef HAVE_LAN_SOCKET_H*/\r
85 \r
86 /* Define if you have the <string.h> header file.  */\r
87 #define HAVE_STRING_H 1\r
88 \r
89 /* Define if you have the <stropts.h> header file.  */\r
90 /*#undef HAVE_STROPTS_H*/\r
91 \r
92 /* Define if you have the <sys/fcntl.h> header file.  */\r
93 #define HAVE_SYS_FCNTL_H 0\r
94 \r
95 /* Define if you have the <sys/systeminfo.h> header file.  */\r
96 /*#undef HAVE_SYS_SYSTEMINFO_H*/\r
97 \r
98 /* Define if you have the <sys/time.h> header file.  */\r
99 /*#undef HAVE_SYS_TIME_H*/\r
100 \r
101 /* Define if you have the <unistd.h> header file.  */\r
102 /*#undef HAVE_UNISTD_H*/\r
103 \r
104 /* Define if you have the i library (-li).  */\r
105 /*#undef HAVE_LIBI*/\r
106 \r
107 /* Define if you have the seq library (-lseq).  */\r
108 /*#undef HAVE_LIBSEQ*/\r
109 \r
110 /*\r
111   Options\r
112   -DEMULATE_RSH -DREMOTE_SHELL=\"\" is necessary on Windows 95, because it\r
113     does not have its own rsh command.  It works better this way on NT too,\r
114     because the NT rsh does not propagate signals to the remote process.\r
115   -DATTENTION is included even though I haven't been able to send signals to\r
116     child processes on Windows, because at least I can send them over rsh to\r
117     Unix programs.  On Windows I send a newline instead, which wakes up the\r
118     chess program if it's polling.  On my GNU Chess port the newline actually \r
119     works even for Move Now.\r
120 */\r
121 #define EMULATE_RSH 1\r
122 #define ATTENTION 1\r
123 \r
124 #ifdef __BORLANDC__\r
125 #define _strdup(x) strdup(x)\r
126 #define STRICT\r
127 #define _winmajor 3  /* windows 95 */\r
128 #define SCF_DEFAULT 0x0000\r
129 #define SCF_ALL 0x0004\r
130 #endif\r