0
0
mirror of https://github.com/vim/vim.git synced 2025-10-28 09:27:14 -04:00

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 <rolfkopman@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Ola Söder
2025-10-18 14:04:28 +00:00
committed by Christian Brabandt
parent 5b5290ec02
commit 3b11759c7c
5 changed files with 2 additions and 4 deletions

View File

@@ -23,7 +23,6 @@
# define HAVE_STDLIB_H # define HAVE_STDLIB_H
# define HAVE_STRING_H # define HAVE_STRING_H
# define HAVE_FCNTL_H # define HAVE_FCNTL_H
# define HAVE_STRCSPN
# define HAVE_STRICMP # define HAVE_STRICMP
# define HAVE_STRNICMP # define HAVE_STRNICMP
# define HAVE_STRFTIME // guessed # define HAVE_STRFTIME // guessed

View File

@@ -84,7 +84,6 @@
#ifndef HAVE_CONFIG_H #ifndef HAVE_CONFIG_H
# define HAVE_STRING_H # define HAVE_STRING_H
# define HAVE_STRCSPN
# define HAVE_MEMSET # define HAVE_MEMSET
# define USE_TMPNAM // use tmpnam() instead of mktemp() # define USE_TMPNAM // use tmpnam() instead of mktemp()
# define HAVE_FCNTL_H # define HAVE_FCNTL_H

View File

@@ -97,7 +97,6 @@
#define TGETENT_ZERO_ERR #define TGETENT_ZERO_ERR
#define HAVE_GETCWD #define HAVE_GETCWD
#define HAVE_STRCSPN
#define HAVE_STRTOL #define HAVE_STRTOL
#define HAVE_TGETENT #define HAVE_TGETENT
#define HAVE_MEMSET #define HAVE_MEMSET

View File

@@ -22,7 +22,6 @@
#ifndef HAVE_MATH_H #ifndef HAVE_MATH_H
# define HAVE_MATH_H # define HAVE_MATH_H
#endif #endif
#define HAVE_STRCSPN
#ifndef __GNUC__ #ifndef __GNUC__
#define HAVE_STRICMP #define HAVE_STRICMP
#define HAVE_STRNICMP #define HAVE_STRNICMP

View File

@@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1866,
/**/ /**/
1865, 1865,
/**/ /**/