Skip to content

Commit 1c36a85

Browse files
dlejaychrisbra
authored andcommitted
patch 9.1.1727: Nextstep support still included
Problem: Nextstep support still included Solution: Deprecate Nextstep code and undef corresponding feature flag closes: #18131 Signed-off-by: Damien Lejay <damien@lejay.be> Signed-off-by: Christian Brabandt <cb@256bit.org>
1 parent 8429a44 commit 1c36a85

3 files changed

Lines changed: 20 additions & 1 deletion

File tree

runtime/doc/vi_diff.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*vi_diff.txt* For Vim version 9.1. Last change: 2025 Aug 10
1+
*vi_diff.txt* For Vim version 9.1. Last change: 2025 Sep 02
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1398,5 +1398,6 @@ MS-DOS: | support was dropped with v7.4.1399
13981398
MS-Windows XP and Vista: | support was dropped with v9.0.0496
13991399
OS/2 | support was dropped with v7.4.1008
14001400
RISC OS: | support was dropped with v7.3.0187
1401+
NextStep Systems | support was deprecated with v9.1.1727
14011402

14021403
vim:tw=78:ts=8:noet:ft=help:norl:

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -724,6 +724,8 @@ static char *(features[]) =
724724

725725
static int included_patches[] =
726726
{ /* Add new patch number below this line */
727+
/**/
728+
1727,
727729
/**/
728730
1726,
729731
/**/

src/vim.h

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,22 @@
4040
# error configure did not run properly. Check auto/config.log.
4141
# endif
4242

43+
/*
44+
* NeXTSTEP / OPENSTEP support deprecation
45+
*
46+
* NeXT hardware was discontinued in 1993, and the last OPENSTEP release
47+
* (4.2) shipped in 1996–1997. No known users remain today.
48+
*
49+
* To simplify maintenance, NeXT support is formally deprecated. If you hit
50+
* this error, please report it to the Vim maintainers.
51+
*
52+
* This guard will be removed once the remaining NeXT-specific code paths
53+
* are deleted in a future release.
54+
*/
55+
#if defined(NeXT) || defined(__NeXT__)
56+
# error "NeXTSTEP / OPENSTEP support has been deprecated."
57+
#endif
58+
4359
# if (defined(__linux__) && !defined(__ANDROID__)) || defined(__CYGWIN__) || defined(__GNU__)
4460
// Needed for strptime(). Needs to be done early, since header files can
4561
// include other header files and end up including time.h, where these symbols

0 commit comments

Comments
 (0)