comparison src/s/cygwin.h @ 88155:d7ddb3e565de

sync with trunk
author Henrik Enberg <henrik.enberg@telia.com>
date Mon, 16 Jan 2006 00:03:54 +0000
parents 23a1cea22d13
children
comparison
equal deleted inserted replaced
88154:8ce476d3ba36 88155:d7ddb3e565de
1 /* Template for system description header files. 1 /* Template for system description header files.
2 This file describes the parameters that system description files 2 This file describes the parameters that system description files
3 should define or not. 3 should define or not.
4 Copyright (C) 1985, 1986, 1992, 1999 Free Software Foundation, Inc. 4 Copyright (C) 1985, 1986, 1992, 1999, 2002, 2003, 2004,
5 2005 Free Software Foundation, Inc.
5 6
6 This file is part of GNU Emacs. 7 This file is part of GNU Emacs.
7 8
8 GNU Emacs is free software; you can redistribute it and/or modify 9 GNU Emacs is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by 10 it under the terms of the GNU General Public License as published by
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details. 17 GNU General Public License for more details.
17 18
18 You should have received a copy of the GNU General Public License 19 You should have received a copy of the GNU General Public License
19 along with GNU Emacs; see the file COPYING. If not, write to 20 along with GNU Emacs; see the file COPYING. If not, write to
20 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 21 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 Boston, MA 02111-1307, USA. */ 22 Boston, MA 02110-1301, USA. */
22 23
23 /* SYSTEM_TYPE should indicate the kind of system you are using. 24 /* SYSTEM_TYPE should indicate the kind of system you are using.
24 It sets the Lisp variable system-type. */ 25 It sets the Lisp variable system-type. */
25 26
26 #define SYSTEM_TYPE "cygwin" 27 #define SYSTEM_TYPE "cygwin"
113 #define CYGWIN 1 114 #define CYGWIN 1
114 115
115 #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) 116 #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base)
116 #define GETPGRP_NO_ARG 1 117 #define GETPGRP_NO_ARG 1
117 #define SYSV_SYSTEM_DIR 1 118 #define SYSV_SYSTEM_DIR 1
118 /* -lutil comes from inetutils and has pty functions in it */ 119 #define LIB_STANDARD_LIBSRC
119 #define LIBS_SYSTEM -lutil 120 #define UNEXEC unexcw.o
120 /* undumping is not implemented yet */
121 #define CANNOT_DUMP 1
122 #define POSIX_SIGNALS 1 121 #define POSIX_SIGNALS 1
123 /* force the emacs image to start high in memory, so dll relocation 122 /* force the emacs image to start high in memory, so dll relocation
124 can put things in low memory without causing all sorts of grief for 123 can put things in low memory without causing all sorts of grief for
125 emacs lisp pointers */ 124 emacs lisp pointers */
126 #define DATA_SEG_BITS 0x20000000 125 #define DATA_SEG_BITS 0x20000000
127 #define LINKER $(CC) -Wl,--image-base,DATA_SEG_BITS 126 #define LINKER $(CC) -Wl,--image-base,DATA_SEG_BITS
128 /* gettext.h is in a strange place */
129 #define C_SWITCH_SYSTEM -I/usr/share/gettext
130 127
131 /* Use terminfo instead of termcap. Fewer environment variables to 128 /* Use terminfo instead of termcap. Fewer environment variables to
132 go wrong, more terminal types. */ 129 go wrong, more terminal types. */
133 #define TERMINFO 130 #define TERMINFO
134 131
135 #define HAVE_SOCKETS 132 #define HAVE_SOCKETS
136 /* C-g aborts emacs without this */ 133 /* C-g aborts emacs without this */
137 /*#define HAVE_VFORK*/ 134 /*#define HAVE_VFORK*/
138 /* Xaw3d causes problems -- might have been fixed by NARROWPROTO 135 /* Xaw3d causes problems -- might have been fixed by NARROWPROTO
139 above, but I haven't tried it */ 136 above, but I haven't tried it */
140 #undef HAVE_XAW3D 137 /*#undef HAVE_XAW3D*/
141 138
142 /* vfork() interacts badly with setsid(), causing ptys to fail to 139 /* vfork() interacts badly with setsid(), causing ptys to fail to
143 change their controlling terminal */ 140 change their controlling terminal */
144 #define vfork fork 141 #define vfork fork
145 142
146 /* the end */ 143 /* the end */
144
145 /* arch-tag: 5ae7ba00-83b0-4ab3-806a-3e845779191b
146 (do not change this comment) */