Mercurial > vim
comparison src/vim.h @ 9536:b2aada04d84e v7.4.2048
commit https://github.com/vim/vim/commit/a06ecab7a5159e744448ace731036f0dc5f87dd4
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jul 16 14:47:36 2016 +0200
patch 7.4.2048
Problem: There is still code and help for unsupported systems.
Solution: Remove the code and text. (Hirohito Higashi)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 16 Jul 2016 15:00:07 +0200 |
parents | bdac1019552f |
children | afaff1d283d3 |
comparison
equal
deleted
inserted
replaced
9535:eb813d0c8346 | 9536:b2aada04d84e |
---|---|
7 */ | 7 */ |
8 | 8 |
9 #ifndef VIM__H | 9 #ifndef VIM__H |
10 # define VIM__H | 10 # define VIM__H |
11 | 11 |
12 /* use fastcall for Borland, when compiling for Win32 (not for DOS16) */ | 12 /* use fastcall for Borland, when compiling for Win32 */ |
13 #if defined(__BORLANDC__) && defined(WIN32) && !defined(DEBUG) | 13 #if defined(__BORLANDC__) && defined(WIN32) && !defined(DEBUG) |
14 #if defined(FEAT_PERL) || \ | 14 #if defined(FEAT_PERL) || \ |
15 defined(FEAT_PYTHON) || \ | 15 defined(FEAT_PYTHON) || \ |
16 defined(FEAT_PYTHON3) || \ | 16 defined(FEAT_PYTHON3) || \ |
17 defined(FEAT_RUBY) || \ | 17 defined(FEAT_RUBY) || \ |
25 # else | 25 # else |
26 #pragma option -pr | 26 #pragma option -pr |
27 # endif | 27 # endif |
28 #endif | 28 #endif |
29 | 29 |
30 #if defined(WIN32) || defined(_WIN64) || defined(__EMX__) | 30 #if defined(WIN32) || defined(_WIN64) |
31 # include "vimio.h" | 31 # include "vimio.h" |
32 #endif | 32 #endif |
33 | 33 |
34 /* ============ the header file puzzle (ca. 50-100 pieces) ========= */ | 34 /* ============ the header file puzzle (ca. 50-100 pieces) ========= */ |
35 | 35 |
80 # if (_TANDEM_ARCH_ == 2 && __H_Series_RVU >= 621) | 80 # if (_TANDEM_ARCH_ == 2 && __H_Series_RVU >= 621) |
81 # define SA_ONSTACK_COMPATIBILITY | 81 # define SA_ONSTACK_COMPATIBILITY |
82 # endif | 82 # endif |
83 #else | 83 #else |
84 # define ROOT_UID 0 | 84 # define ROOT_UID 0 |
85 #endif | |
86 | |
87 #ifdef __EMX__ /* hand-edited config.h for OS/2 with EMX */ | |
88 # include "os_os2_cfg.h" | |
89 #endif | 85 #endif |
90 | 86 |
91 /* | 87 /* |
92 * MACOS_CLASSIC compiling for MacOS prior to MacOS X | 88 * MACOS_CLASSIC compiling for MacOS prior to MacOS X |
93 * MACOS_X_UNIX compiling for MacOS X (using os_unix.c) | 89 * MACOS_X_UNIX compiling for MacOS X (using os_unix.c) |
250 | 246 |
251 #ifdef __BEOS__ | 247 #ifdef __BEOS__ |
252 # include "os_beos.h" | 248 # include "os_beos.h" |
253 #endif | 249 #endif |
254 | 250 |
255 #if (defined(UNIX) || defined(__EMX__) || defined(VMS)) \ | 251 #if (defined(UNIX) || defined(VMS)) \ |
256 && (!defined(MACOS_X) || defined(HAVE_CONFIG_H)) | 252 && (!defined(MACOS_X) || defined(HAVE_CONFIG_H)) |
257 # include "os_unix.h" /* bring lots of system header files */ | 253 # include "os_unix.h" /* bring lots of system header files */ |
258 #endif | 254 #endif |
259 | 255 |
260 /* Mark unused function arguments with UNUSED, so that gcc -Wunused-parameter | 256 /* Mark unused function arguments with UNUSED, so that gcc -Wunused-parameter |
273 * glibc-2.2.5 has them in their system headers. | 269 * glibc-2.2.5 has them in their system headers. |
274 */ | 270 */ |
275 #if !defined(__cplusplus) && defined(UNIX) \ | 271 #if !defined(__cplusplus) && defined(UNIX) \ |
276 && !defined(MACOS_X) /* MACOS_X doesn't yet support osdef.h */ | 272 && !defined(MACOS_X) /* MACOS_X doesn't yet support osdef.h */ |
277 # include "auto/osdef.h" /* bring missing declarations in */ | 273 # include "auto/osdef.h" /* bring missing declarations in */ |
278 #endif | |
279 | |
280 #ifdef __EMX__ | |
281 # define getcwd _getcwd2 | |
282 # define chdir _chdir2 | |
283 # undef CHECK_INODE | |
284 #endif | 274 #endif |
285 | 275 |
286 #ifdef AMIGA | 276 #ifdef AMIGA |
287 # include "os_amiga.h" | 277 # include "os_amiga.h" |
288 #endif | 278 #endif |
475 #if defined(MSWIN) | 465 #if defined(MSWIN) |
476 # include <sys/stat.h> | 466 # include <sys/stat.h> |
477 #endif | 467 #endif |
478 | 468 |
479 #if defined(HAVE_ERRNO_H) \ | 469 #if defined(HAVE_ERRNO_H) \ |
480 || defined(WIN32) || defined(_WIN64) || defined(__EMX__) | 470 || defined(WIN32) || defined(_WIN64) |
481 # include <errno.h> | 471 # include <errno.h> |
482 #endif | 472 #endif |
483 | 473 |
484 /* | 474 /* |
485 * Allow other (non-unix) systems to configure themselves now | 475 * Allow other (non-unix) systems to configure themselves now |
1528 | 1518 |
1529 /* | 1519 /* |
1530 * EMX doesn't have a global way of making open() use binary I/O. | 1520 * EMX doesn't have a global way of making open() use binary I/O. |
1531 * Use O_BINARY for all open() calls. | 1521 * Use O_BINARY for all open() calls. |
1532 */ | 1522 */ |
1533 #if defined(__EMX__) || defined(__CYGWIN32__) | 1523 #if defined(__CYGWIN32__) |
1534 # define O_EXTRA O_BINARY | 1524 # define O_EXTRA O_BINARY |
1535 #else | 1525 #else |
1536 # define O_EXTRA 0 | 1526 # define O_EXTRA 0 |
1537 #endif | 1527 #endif |
1538 | 1528 |