Mercurial > emacs
comparison src/s/ms-w32.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 /* System description file for Windows NT. | 1 /* System description file for Windows NT. |
2 Copyright (C) 1993, 1994, 1995 Free Software Foundation, Inc. | 2 Copyright (C) 1993, 1994, 1995, 2002, 2003, 2004, |
3 2005 Free Software Foundation, Inc. | |
3 | 4 |
4 This file is part of GNU Emacs. | 5 This file is part of GNU Emacs. |
5 | 6 |
6 GNU Emacs is free software; you can redistribute it and/or modify | 7 GNU Emacs is free software; you can redistribute it and/or modify |
7 it under the terms of the GNU General Public License as published by | 8 it under the terms of the GNU General Public License as published by |
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 GNU General Public License for more details. | 15 GNU General Public License for more details. |
15 | 16 |
16 You should have received a copy of the GNU General Public License | 17 You should have received a copy of the GNU General Public License |
17 along with GNU Emacs; see the file COPYING. If not, write to | 18 along with GNU Emacs; see the file COPYING. If not, write to |
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
19 Boston, MA 02111-1307, USA. */ | 20 Boston, MA 02110-1301, USA. */ |
20 | 21 |
21 /* | 22 /* |
22 * Define symbols to identify the version of Unix this is. | 23 * Define symbols to identify the version of Unix this is. |
23 * Define all the symbols that apply correctly. | 24 * Define all the symbols that apply correctly. |
24 */ | 25 */ |
228 #undef HAVE_LINUX_VERSION_H | 229 #undef HAVE_LINUX_VERSION_H |
229 #undef HAVE_SYS_SYSTEMINFO_H | 230 #undef HAVE_SYS_SYSTEMINFO_H |
230 #undef HAVE_TERMIOS_H | 231 #undef HAVE_TERMIOS_H |
231 #define HAVE_LIMITS_H 1 | 232 #define HAVE_LIMITS_H 1 |
232 #define HAVE_STRING_H 1 | 233 #define HAVE_STRING_H 1 |
234 #define HAVE_PWD_H 1 | |
233 #define STDC_HEADERS 1 | 235 #define STDC_HEADERS 1 |
234 #define TIME_WITH_SYS_TIME 1 | 236 #define TIME_WITH_SYS_TIME 1 |
235 | 237 |
236 #define HAVE_GETTIMEOFDAY 1 | 238 #define HAVE_GETTIMEOFDAY 1 |
237 #define HAVE_GETHOSTNAME 1 | 239 #define HAVE_GETHOSTNAME 1 |
308 #define access sys_access | 310 #define access sys_access |
309 #undef chdir | 311 #undef chdir |
310 #define chdir sys_chdir | 312 #define chdir sys_chdir |
311 #undef chmod | 313 #undef chmod |
312 #define chmod sys_chmod | 314 #define chmod sys_chmod |
315 #define chown sys_chown | |
313 #undef close | 316 #undef close |
314 #define close sys_close | 317 #define close sys_close |
315 #undef creat | 318 #undef creat |
316 #define creat sys_creat | 319 #define creat sys_creat |
317 #define ctime sys_ctime | 320 #define ctime sys_ctime |
351 #define execlp _execlp | 354 #define execlp _execlp |
352 #define execvp _execvp | 355 #define execvp _execvp |
353 #define fcloseall _fcloseall | 356 #define fcloseall _fcloseall |
354 #define fdopen _fdopen | 357 #define fdopen _fdopen |
355 #define fgetchar _fgetchar | 358 #define fgetchar _fgetchar |
359 #ifndef fileno | |
356 #define fileno _fileno | 360 #define fileno _fileno |
361 #endif | |
357 #define flushall _flushall | 362 #define flushall _flushall |
358 #define fputchar _fputchar | 363 #define fputchar _fputchar |
359 #define fsync _commit | 364 #define fsync _commit |
360 #define ftruncate _chsize | 365 #define ftruncate _chsize |
361 #define getw _getw | 366 #define getw _getw |
475 accordingly if this section name is changed, or if this pragma is | 480 accordingly if this section name is changed, or if this pragma is |
476 removed. Also, obviously, all files that define initialized data | 481 removed. Also, obviously, all files that define initialized data |
477 must include config.h to pick up this pragma. */ | 482 must include config.h to pick up this pragma. */ |
478 | 483 |
479 /* Names must be < 8 bytes */ | 484 /* Names must be < 8 bytes */ |
485 #ifdef _MSC_VER | |
480 #pragma data_seg("EMDATA") | 486 #pragma data_seg("EMDATA") |
481 #pragma bss_seg("EMBSS") | 487 #pragma bss_seg("EMBSS") |
488 #endif | |
482 | 489 |
483 /* #define FULL_DEBUG */ | 490 /* #define FULL_DEBUG */ |
484 /* #define EMACSDEBUG */ | 491 /* #define EMACSDEBUG */ |
485 | 492 |
486 #ifdef EMACSDEBUG | 493 #ifdef EMACSDEBUG |
490 #define DebPrint(stuff) | 497 #define DebPrint(stuff) |
491 #endif | 498 #endif |
492 | 499 |
493 | 500 |
494 /* ============================================================ */ | 501 /* ============================================================ */ |
502 | |
503 /* arch-tag: 5d4a3a1c-40dc-4dea-9c7c-38fed9ae0eae | |
504 (do not change this comment) */ |