patch 9.1.1866: HAVE_STRCSPN define is unused

Commit: 
https://github.com/vim/vim/commit/3b11759c7cea5994cac4fecd328f0bb225fde838
Author: Ola Söder <[email protected]>
Date:   Sat Oct 18 14:04:28 2025 +0000

    patch 9.1.1866: HAVE_STRCSPN define is unused
    
    Problem:  HAVE_STRCSPN define is unused
    Solution: Remove all HAVE_STRCSPN defines
              (Ola Söder)
    
    closes: #18592
    
    Signed-off-by: Ola Söder <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/src/os_amiga.h b/src/os_amiga.h
index ba1444398..af64752b0 100644
--- a/src/os_amiga.h
+++ b/src/os_amiga.h
@@ -23,7 +23,6 @@
 # define HAVE_STDLIB_H
 # define HAVE_STRING_H
 # define HAVE_FCNTL_H
-# define HAVE_STRCSPN
 # define HAVE_STRICMP
 # define HAVE_STRNICMP
 # define HAVE_STRFTIME     // guessed
diff --git a/src/os_mac.h b/src/os_mac.h
index 6c23f4cb6..f171d7ccf 100644
--- a/src/os_mac.h
+++ b/src/os_mac.h
@@ -84,7 +84,6 @@
 
 #ifndef HAVE_CONFIG_H
 # define HAVE_STRING_H
-# define HAVE_STRCSPN
 # define HAVE_MEMSET
 # define USE_TMPNAM            // use tmpnam() instead of mktemp()
 # define HAVE_FCNTL_H
diff --git a/src/os_vms_conf.h b/src/os_vms_conf.h
index c9e75e68c..dbf9e8641 100644
--- a/src/os_vms_conf.h
+++ b/src/os_vms_conf.h
@@ -97,7 +97,6 @@
 
 #define TGETENT_ZERO_ERR
 #define HAVE_GETCWD
-#define HAVE_STRCSPN
 #define HAVE_STRTOL
 #define HAVE_TGETENT
 #define HAVE_MEMSET
diff --git a/src/os_win32.h b/src/os_win32.h
index 26003e52e..4105a452c 100644
--- a/src/os_win32.h
+++ b/src/os_win32.h
@@ -22,7 +22,6 @@
 #ifndef HAVE_MATH_H
 # define HAVE_MATH_H
 #endif
-#define HAVE_STRCSPN
 #ifndef __GNUC__
 #define HAVE_STRICMP
 #define HAVE_STRNICMP
diff --git a/src/version.c b/src/version.c
index 2ef00ab81..f21097180 100644
--- a/src/version.c
+++ b/src/version.c
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1866,
 /**/
     1865,
 /**/

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1vA7iA-004wYC-Dn%40256bit.org.

Raspunde prin e-mail lui