aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2012-07-13 13:49:26 +0200
committerJuanma Barranquero2012-07-13 13:49:26 +0200
commitef099b57b6fb2de43feb3b40860dd9a3fbc7fdbd (patch)
tree62b4cf903d207c3333b8e64dc33001c5db5229df
parentd3127c14c23834d6a75249c2e3194a07f8cdd069 (diff)
downloademacs-ef099b57b6fb2de43feb3b40860dd9a3fbc7fdbd.tar.gz
emacs-ef099b57b6fb2de43feb3b40860dd9a3fbc7fdbd.zip
* nt/config.nt: Sync with autogen/config.in.
(BROKEN_FIONREAD, BROKEN_GET_CURRENT_DIR_NAME) (BROKEN_PTY_READ_AFTER_EAGAIN, BROKEN_SIGAIO, BROKEN_SIGPOLL) (BROKEN_SIGPTY, BSD4_2, BSD_SYSTEM, BSD_SYSTEM_AHB, CYGWIN, DARWIN_OS) (FIRST_PTY_LETTER, GNU_LINUX, G_SLICE_ALWAYS_MALLOC, HAVE_PTYS) (HAVE_SOCKETS, HPUX, INTERRUPT_INPUT, IRIX6_5, NARROWPROTO, NO_ABORT) (NO_EDITRES, NSIG_MINIMUM, PREFER_VSUSP, PTY_ITERATION (PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF, RUN_TIME_REMAP) (SETPGRP_RELEASES_CTTY, SOLARIS2, TAB3, TABDLY, ULIMIT_BREAK_VALUE) (UNIX98_PTYS, USG, USG5, XOS_NEEDS_TIME_H, _AIX): New macros. (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE___BUILTIN_UNWIND_INIT): Set in src/s/ms-w32.h, not here. * src/s/ms-w32.h (FIRST_PTY_LETTER, HAVE_SOCKETS): Move to nt/config.nt. (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE___BUILTIN_UNWIND_INIT): Set here, not in nt/config.nt.
-rw-r--r--nt/ChangeLog15
-rw-r--r--nt/config.nt161
-rw-r--r--src/ChangeLog6
-rw-r--r--src/s/ms-w32.h21
4 files changed, 176 insertions, 27 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog
index 8edfc645404..44b90144d42 100644
--- a/nt/ChangeLog
+++ b/nt/ChangeLog
@@ -1,3 +1,18 @@
12012-07-13 Juanma Barranquero <lekktu@gmail.com>
2
3 * config.nt: Sync with autogen/config.in.
4 (BROKEN_FIONREAD, BROKEN_GET_CURRENT_DIR_NAME)
5 (BROKEN_PTY_READ_AFTER_EAGAIN, BROKEN_SIGAIO, BROKEN_SIGPOLL)
6 (BROKEN_SIGPTY, BSD4_2, BSD_SYSTEM, BSD_SYSTEM_AHB, CYGWIN, DARWIN_OS)
7 (FIRST_PTY_LETTER, GNU_LINUX, G_SLICE_ALWAYS_MALLOC, HAVE_PTYS)
8 (HAVE_SOCKETS, HPUX, INTERRUPT_INPUT, IRIX6_5, NARROWPROTO, NO_ABORT)
9 (NO_EDITRES, NSIG_MINIMUM, PREFER_VSUSP, PTY_ITERATION
10 (PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF, RUN_TIME_REMAP)
11 (SETPGRP_RELEASES_CTTY, SOLARIS2, TAB3, TABDLY, ULIMIT_BREAK_VALUE)
12 (UNIX98_PTYS, USG, USG5, XOS_NEEDS_TIME_H, _AIX): New macros.
13 (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE___BUILTIN_UNWIND_INIT):
14 Set in src/s/ms-w32.h, not here.
15
12012-07-11 Juanma Barranquero <lekktu@gmail.com> 162012-07-11 Juanma Barranquero <lekktu@gmail.com>
2 17
3 * config.nt: Sync with autogen/config.in. 18 * config.nt: Sync with autogen/config.in.
diff --git a/nt/config.nt b/nt/config.nt
index c954f54468f..bf1feff316a 100644
--- a/nt/config.nt
+++ b/nt/config.nt
@@ -51,12 +51,39 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
51/* Define to the number of bits in type 'wint_t'. */ 51/* Define to the number of bits in type 'wint_t'. */
52#undef BITSIZEOF_WINT_T 52#undef BITSIZEOF_WINT_T
53 53
54/* Define if FIONREAD should not be used. */
55#undef BROKEN_FIONREAD
56
57/* Define if get_current_dir_name should not be used. */
58#undef BROKEN_GET_CURRENT_DIR_NAME
59
60/* Define on FreeBSD to work around an issue when reading from a PTY. */
61#undef BROKEN_PTY_READ_AFTER_EAGAIN
62
54/* Define if SA_RESTART should only be used in batch mode. */ 63/* Define if SA_RESTART should only be used in batch mode. */
55#undef BROKEN_SA_RESTART 64#undef BROKEN_SA_RESTART
56 65
66/* Define if SIGAIO should not be used. */
67#undef BROKEN_SIGAIO
68
57/* Define if SIGIO should not be used. */ 69/* Define if SIGIO should not be used. */
58#undef BROKEN_SIGIO 70#undef BROKEN_SIGIO
59 71
72/* Define if SIGPOLL should not be used. */
73#undef BROKEN_SIGPOLL
74
75/* Define if SIGPTY should not be used. */
76#undef BROKEN_SIGPTY
77
78/* Define if the system is compatible with BSD 4.2. */
79#undef BSD4_2
80
81/* Define if the system is compatible with BSD 4.2. */
82#undef BSD_SYSTEM
83
84/* Define if AH_BOTTOM should change BSD_SYSTEM. */
85#undef BSD_SYSTEM_AHB
86
60/* Define if Emacs cannot be dumped on your system. */ 87/* Define if Emacs cannot be dumped on your system. */
61#undef CANNOT_DUMP 88#undef CANNOT_DUMP
62 89
@@ -73,9 +100,15 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
73 */ 100 */
74#undef CRAY_STACKSEG_END 101#undef CRAY_STACKSEG_END
75 102
103/* Define if the system is Cygwin. */
104#undef CYGWIN
105
76/* Define to 1 if using 'alloca.c'. */ 106/* Define to 1 if using 'alloca.c'. */
77#undef C_ALLOCA 107#undef C_ALLOCA
78 108
109/* Define if the system is Darwin. */
110#undef DARWIN_OS
111
79/* Extra bits to be or'd in with any pointers stored in a Lisp_Object. */ 112/* Extra bits to be or'd in with any pointers stored in a Lisp_Object. */
80#undef DATA_SEG_BITS 113#undef DATA_SEG_BITS
81 114
@@ -106,6 +139,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
106 enabled. */ 139 enabled. */
107#undef ENABLE_CHECKING 140#undef ENABLE_CHECKING
108 141
142/* Letter to use in finding device name of first PTY, if PTYs are supported.
143 */
144#define FIRST_PTY_LETTER 'a'
145
109/* Define to 1 if futimesat mishandles a NULL file name. */ 146/* Define to 1 if futimesat mishandles a NULL file name. */
110#undef FUTIMESAT_NULL_BUG 147#undef FUTIMESAT_NULL_BUG
111 148
@@ -150,9 +187,16 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
150/* Value of PENDING_OUTPUT_COUNT if using the GNU C library. */ 187/* Value of PENDING_OUTPUT_COUNT if using the GNU C library. */
151#undef GNU_LIBRARY_PENDING_OUTPUT_COUNT 188#undef GNU_LIBRARY_PENDING_OUTPUT_COUNT
152 189
190/* Define if ths system is compatible with GNU/Linux. */
191#undef GNU_LINUX
192
153/* Define to 1 if you want to use the GNU memory allocator. */ 193/* Define to 1 if you want to use the GNU memory allocator. */
154#define GNU_MALLOC 1 194#define GNU_MALLOC 1
155 195
196/* Define to set the G_SLICE environment variable to "always-malloc" at
197 startup, if using GTK. */
198#undef G_SLICE_ALWAYS_MALLOC
199
156/* Define to 1 if the file /usr/lpp/X11/bin/smt.exp exists. */ 200/* Define to 1 if the file /usr/lpp/X11/bin/smt.exp exists. */
157#undef HAVE_AIX_SMT_EXP 201#undef HAVE_AIX_SMT_EXP
158 202
@@ -679,6 +723,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
679/* Define to 1 if the pthread_sigmask function can be used (despite bugs). */ 723/* Define to 1 if the pthread_sigmask function can be used (despite bugs). */
680#undef HAVE_PTHREAD_SIGMASK 724#undef HAVE_PTHREAD_SIGMASK
681 725
726/* Define if the system supports pty devices. */
727#undef HAVE_PTYS
728
682/* Define to 1 if you have the <pty.h> header file. */ 729/* Define to 1 if you have the <pty.h> header file. */
683#undef HAVE_PTY_H 730#undef HAVE_PTY_H
684 731
@@ -745,6 +792,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
745/* Define to 1 if you have the `snprintf' function. */ 792/* Define to 1 if you have the `snprintf' function. */
746#define HAVE_SNPRINTF 1 793#define HAVE_SNPRINTF 1
747 794
795/* Define if the system supports 4.2-compatible sockets.
796 NT supports Winsock which is close enough (with some hacks). */
797#define HAVE_SOCKETS 1
798
748/* Define to 1 if you have sound support. */ 799/* Define to 1 if you have sound support. */
749#define HAVE_SOUND 1 800#define HAVE_SOUND 1
750 801
@@ -1031,6 +1082,15 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1031/* Define to support using a Hesiod database to find the POP server. */ 1082/* Define to support using a Hesiod database to find the POP server. */
1032#undef HESIOD 1083#undef HESIOD
1033 1084
1085/* Define if the system is HPUX. */
1086#undef HPUX
1087
1088/* Define to read input using SIGIO. */
1089#undef INTERRUPT_INPUT
1090
1091/* Define if the system is IRIX. */
1092#undef IRIX6_5
1093
1034/* Define to support Kerberos-authenticated POP mail retrieval. */ 1094/* Define to support Kerberos-authenticated POP mail retrieval. */
1035#undef KERBEROS 1095#undef KERBEROS
1036 1096
@@ -1062,6 +1122,16 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1062/* Define to support POP mail retrieval. */ 1122/* Define to support POP mail retrieval. */
1063#define MAIL_USE_POP 1 1123#define MAIL_USE_POP 1
1064 1124
1125/* Define if system's imake configuration file defines `NeedWidePrototypes' as
1126 `NO'. */
1127#undef NARROWPROTO
1128
1129/* Do not define abort in emacs.c. */
1130#undef NO_ABORT
1131
1132/* Define if XEditRes should not be used. */
1133#undef NO_EDITRES
1134
1065/* Define to 1 if you don't have struct exception in math.h. */ 1135/* Define to 1 if you don't have struct exception in math.h. */
1066#define NO_MATHERR 1 1136#define NO_MATHERR 1
1067 1137
@@ -1071,6 +1141,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1071/* Define if termio.h should not be included. */ 1141/* Define if termio.h should not be included. */
1072#undef NO_TERMIO 1142#undef NO_TERMIO
1073 1143
1144/* Minimum value of NSIG. */
1145#undef NSIG_MINIMUM
1146
1074/* Define to 1 if `NSInteger' is defined. */ 1147/* Define to 1 if `NSInteger' is defined. */
1075#undef NS_HAVE_NSINTEGER 1148#undef NS_HAVE_NSINTEGER
1076 1149
@@ -1115,6 +1188,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1115 png_longjmp. */ 1188 png_longjmp. */
1116#undef PNG_DEPSTRUCT 1189#undef PNG_DEPSTRUCT
1117 1190
1191/* Define if process_send_signal should use VSUSP instead of VSWTCH. */
1192#undef PREFER_VSUSP
1193
1118/* Define to 1 if pthread_sigmask(), when it fails, returns -1 and sets errno. 1194/* Define to 1 if pthread_sigmask(), when it fails, returns -1 and sets errno.
1119 */ 1195 */
1120#undef PTHREAD_SIGMASK_FAILS_WITH_ERRNO 1196#undef PTHREAD_SIGMASK_FAILS_WITH_ERRNO
@@ -1129,6 +1205,18 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1129 'ptrdiff_t'. */ 1205 'ptrdiff_t'. */
1130#undef PTRDIFF_T_SUFFIX 1206#undef PTRDIFF_T_SUFFIX
1131 1207
1208/* How to iterate over PTYs. */
1209#undef PTY_ITERATION
1210
1211/* How to get the device name of the control end of a PTY, if non-standard. */
1212#undef PTY_NAME_SPRINTF
1213
1214/* How to open a PTY, if non-standard. */
1215#undef PTY_OPEN
1216
1217/* How to get device name of the tty end of a PTY, if non-standard. */
1218#undef PTY_TTY_NAME_SPRINTF
1219
1132/* Define to 1 if readlink fails to recognize a trailing slash. */ 1220/* Define to 1 if readlink fails to recognize a trailing slash. */
1133#undef READLINK_TRAILING_SLASH_BUG 1221#undef READLINK_TRAILING_SLASH_BUG
1134 1222
@@ -1144,6 +1232,12 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1144 slash */ 1232 slash */
1145#undef REPLACE_FUNC_STAT_FILE 1233#undef REPLACE_FUNC_STAT_FILE
1146 1234
1235/* Define if emacs.c needs to call run_time_remap; for HPUX. */
1236#undef RUN_TIME_REMAP
1237
1238/* Define if process.c:child_setup should not call setpgrp. */
1239#undef SETPGRP_RELEASES_CTTY
1240
1147/* Make process_send_signal work by "typing" a signal character on the pty. */ 1241/* Make process_send_signal work by "typing" a signal character on the pty. */
1148#undef SIGNALS_VIA_CHARACTERS 1242#undef SIGNALS_VIA_CHARACTERS
1149 1243
@@ -1155,6 +1249,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1155 'size_t'. */ 1249 'size_t'. */
1156#undef SIZE_T_SUFFIX 1250#undef SIZE_T_SUFFIX
1157 1251
1252/* Define if the system is Solaris. */
1253#undef SOLARIS2
1254
1158/* If using the C implementation of alloca, define if you know the 1255/* If using the C implementation of alloca, define if you know the
1159 direction of stack growth for your system; otherwise it will be 1256 direction of stack growth for your system; otherwise it will be
1160 automatically deduced at runtime. 1257 automatically deduced at runtime.
@@ -1181,6 +1278,12 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1181/* The type of system you are compiling for; sets `system-type'. */ 1278/* The type of system you are compiling for; sets `system-type'. */
1182#define SYSTEM_TYPE "windows-nt" 1279#define SYSTEM_TYPE "windows-nt"
1183 1280
1281/* Undocumented. */
1282#undef TAB3
1283
1284/* Undocumented. */
1285#undef TABDLY
1286
1184/* Define to 1 if you use terminfo instead of termcap. */ 1287/* Define to 1 if you use terminfo instead of termcap. */
1185#undef TERMINFO 1288#undef TERMINFO
1186 1289
@@ -1194,6 +1297,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1194 timespec. */ 1297 timespec. */
1195#undef TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC 1298#undef TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC
1196 1299
1300/* Undocumented. */
1301#undef ULIMIT_BREAK_VALUE
1302
1197/* Define to 1 for Encore UMAX. */ 1303/* Define to 1 for Encore UMAX. */
1198#undef UMAX 1304#undef UMAX
1199 1305
@@ -1201,6 +1307,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1201 <sys/cpustats.h>. */ 1307 <sys/cpustats.h>. */
1202#undef UMAX4_3 1308#undef UMAX4_3
1203 1309
1310/* Define if the system has Unix98 PTYs. */
1311#undef UNIX98_PTYS
1312
1204/* Define to 1 if using GTK. */ 1313/* Define to 1 if using GTK. */
1205#undef USE_GTK 1314#undef USE_GTK
1206 1315
@@ -1222,6 +1331,12 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1222/* Define to 1 if using an X toolkit. */ 1331/* Define to 1 if using an X toolkit. */
1223#undef USE_X_TOOLKIT 1332#undef USE_X_TOOLKIT
1224 1333
1334/* Define if the system is compatible with System III. */
1335#undef USG
1336
1337/* Define if the system is compatible with System V. */
1338#undef USG5
1339
1225/* Define for USG systems where it works to open a pty's tty in the parent 1340/* Define for USG systems where it works to open a pty's tty in the parent
1226 process, then close and reopen it in the child. */ 1341 process, then close and reopen it in the child. */
1227#undef USG_SUBTTY_WORKS 1342#undef USG_SUBTTY_WORKS
@@ -1255,10 +1370,16 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1255/* Define this to check for malloc buffer overrun. */ 1370/* Define this to check for malloc buffer overrun. */
1256#undef XMALLOC_OVERRUN_CHECK 1371#undef XMALLOC_OVERRUN_CHECK
1257 1372
1373/* Compensate for a bug in Xos.h on some systems, where it requires time.h. */
1374#undef XOS_NEEDS_TIME_H
1375
1258/* Define to the type of the 6th arg of XRegisterIMInstantiateCallback, either 1376/* Define to the type of the 6th arg of XRegisterIMInstantiateCallback, either
1259 XPointer or XPointer*. */ 1377 XPointer or XPointer*. */
1260#undef XRegisterIMInstantiateCallback_arg6 1378#undef XRegisterIMInstantiateCallback_arg6
1261 1379
1380/* Define if the system is AIX. */
1381#undef _AIX
1382
1262/* Enable large inode numbers on Mac OS X. */ 1383/* Enable large inode numbers on Mac OS X. */
1263#ifndef _DARWIN_USE_64_BIT_INODE 1384#ifndef _DARWIN_USE_64_BIT_INODE
1264# define _DARWIN_USE_64_BIT_INODE 1 1385# define _DARWIN_USE_64_BIT_INODE 1
@@ -1458,6 +1579,19 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1458#endif 1579#endif
1459#endif 1580#endif
1460 1581
1582/* This silences a few compilation warnings on FreeBSD. */
1583#ifdef BSD_SYSTEM_AHB
1584#undef BSD_SYSTEM_AHB
1585#undef BSD_SYSTEM
1586#if __FreeBSD__ == 1
1587#define BSD_SYSTEM 199103
1588#elif __FreeBSD__ == 2
1589#define BSD_SYSTEM 199306
1590#elif __FreeBSD__ >= 3
1591#define BSD_SYSTEM 199506
1592#endif
1593#endif
1594
1461/* Define AMPERSAND_FULL_NAME if you use the convention 1595/* Define AMPERSAND_FULL_NAME if you use the convention
1462 that & in the full name stands for the login id. */ 1596 that & in the full name stands for the login id. */
1463#undef AMPERSAND_FULL_NAME 1597#undef AMPERSAND_FULL_NAME
@@ -1475,13 +1609,14 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1475# include config_opsysfile 1609# include config_opsysfile
1476#endif 1610#endif
1477 1611
1478/* GNUstep needs a bit more pure memory. Of the existing knobs, 1612/* Mac OS X / GNUstep need a bit more pure memory. Of the existing knobs,
1479 SYSTEM_PURESIZE_EXTRA seems like the least likely to cause problems. 1613 SYSTEM_PURESIZE_EXTRA seems like the least likely to cause problems. */
1480 (There is probably a better place to do this, but right now the 1614#ifdef HAVE_NS
1481 Cocoa side does this in s/darwin.h and we cannot parallel this 1615#if defined NS_IMPL_GNUSTEP
1482 exactly since GNUstep is multi-OS. */
1483#if defined HAVE_NS && defined NS_IMPL_GNUSTEP
1484# define SYSTEM_PURESIZE_EXTRA 30000 1616# define SYSTEM_PURESIZE_EXTRA 30000
1617#elif defined DARWIN_OS
1618# define SYSTEM_PURESIZE_EXTRA 200000
1619#endif
1485#endif 1620#endif
1486 1621
1487#ifdef emacs /* Don't do this for lib-src. */ 1622#ifdef emacs /* Don't do this for lib-src. */
@@ -1542,20 +1677,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1542# endif 1677# endif
1543#endif 1678#endif
1544 1679
1545/* Define to 1 if GCC-style __attribute__ ((__aligned__ (expr))) works. */
1546#ifdef __GNUC__
1547#define HAVE_ATTRIBUTE_ALIGNED 1
1548#endif
1549
1550/* Define to 1 if strtold conforms to C99. */
1551#ifdef __GNUC__
1552#define HAVE_C99_STRTOLD 1
1553#endif
1554
1555#if (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 8))
1556#define HAVE___BUILTIN_UNWIND_INIT 1
1557#endif
1558
1559#endif /* EMACS_CONFIG_H */ 1680#endif /* EMACS_CONFIG_H */
1560 1681
1561/* 1682/*
diff --git a/src/ChangeLog b/src/ChangeLog
index 3c74343a708..26019c1302d 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12012-07-13 Juanma Barranquero <lekktu@gmail.com>
2
3 * s/ms-w32.h (FIRST_PTY_LETTER, HAVE_SOCKETS): Move to nt/config.nt.
4 (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE___BUILTIN_UNWIND_INIT):
5 Set here, not in nt/config.nt.
6
12012-07-13 Eli Zaretskii <eliz@gnu.org> 72012-07-13 Eli Zaretskii <eliz@gnu.org>
2 8
3 * xdisp.c (move_it_in_display_line_to): On GUI terminals, allow 9 * xdisp.c (move_it_in_display_line_to): On GUI terminals, allow
diff --git a/src/s/ms-w32.h b/src/s/ms-w32.h
index 1557edaa161..cf8ba6f220c 100644
--- a/src/s/ms-w32.h
+++ b/src/s/ms-w32.h
@@ -38,17 +38,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
38 convention must be whatever standard the libraries expect. */ 38 convention must be whatever standard the libraries expect. */
39#define _CALLBACK_ __cdecl 39#define _CALLBACK_ __cdecl
40 40
41/* Letter to use in finding device name of first pty,
42 if system supports pty's. 'a' means it is /dev/ptya0 */
43#define FIRST_PTY_LETTER 'a'
44
45/* Define HAVE_TIMEVAL if the system supports the BSD style clock values. 41/* Define HAVE_TIMEVAL if the system supports the BSD style clock values.
46 Look in <sys/time.h> for a timeval structure. */ 42 Look in <sys/time.h> for a timeval structure. */
47#define HAVE_TIMEVAL 1 43#define HAVE_TIMEVAL 1
48 44
49/* NT supports Winsock which is close enough (with some hacks). */
50#define HAVE_SOCKETS 1
51
52/* But our select implementation doesn't allow us to make non-blocking 45/* But our select implementation doesn't allow us to make non-blocking
53 connects. So until that is fixed, this is necessary: */ 46 connects. So until that is fixed, this is necessary: */
54#define BROKEN_NON_BLOCKING_CONNECT 1 47#define BROKEN_NON_BLOCKING_CONNECT 1
@@ -70,6 +63,20 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
70 is not ':', #define this to be the appropriate character constant. */ 63 is not ':', #define this to be the appropriate character constant. */
71#define SEPCHAR ';' 64#define SEPCHAR ';'
72 65
66/* Define to 1 if GCC-style __attribute__ ((__aligned__ (expr))) works. */
67#ifdef __GNUC__
68#define HAVE_ATTRIBUTE_ALIGNED 1
69#endif
70
71/* Define to 1 if strtold conforms to C99. */
72#ifdef __GNUC__
73#define HAVE_C99_STRTOLD 1
74#endif
75
76#if (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 8))
77#define HAVE___BUILTIN_UNWIND_INIT 1
78#endif
79
73/* ============================================================ */ 80/* ============================================================ */
74 81
75/* Here, add any special hacks needed to make Emacs work on this 82/* Here, add any special hacks needed to make Emacs work on this