aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroni-link <knil.ino@gmail.com>2014-04-01 13:18:50 +0200
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-02 18:52:16 -0300
commitec51b04a89f222d0a5504687dbc4d1d070a19398 (patch)
treefbe7aa41af3d0f7c42475b7ea73c7ee127fd854d
parent6c902e21047d17655fa55864004d77e53eda4428 (diff)
downloadrneovim-ec51b04a89f222d0a5504687dbc4d1d070a19398.tar.gz
rneovim-ec51b04a89f222d0a5504687dbc4d1d070a19398.tar.bz2
rneovim-ec51b04a89f222d0a5504687dbc4d1d070a19398.zip
remove HAVE_STRING_H
-rw-r--r--config/config.h.in1
-rw-r--r--src/os_unix_defs.h2
-rw-r--r--src/os_unixx.h2
3 files changed, 0 insertions, 5 deletions
diff --git a/config/config.h.in b/config/config.h.in
index 5ec578136f..2d6f39bd52 100644
--- a/config/config.h.in
+++ b/config/config.h.in
@@ -61,7 +61,6 @@
#define HAVE_SIGVEC 1
#define HAVE_ST_BLKSIZE 1
#define HAVE_STRCASECMP 1
-#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_STRNCASECMP 1
// TODO: add proper cmake check
diff --git a/src/os_unix_defs.h b/src/os_unix_defs.h
index 4545ddd77d..fd7bc66def 100644
--- a/src/os_unix_defs.h
+++ b/src/os_unix_defs.h
@@ -274,9 +274,7 @@
/* Note: Some systems need both string.h and strings.h (Savage). However,
* some systems can't handle both, only use string.h in that case. */
-#ifdef HAVE_STRING_H
# include <string.h>
-#endif
#if defined(HAVE_STRINGS_H) && !defined(NO_STRINGS_WITH_STRING_H)
# include <strings.h>
#endif
diff --git a/src/os_unixx.h b/src/os_unixx.h
index e07d2bae67..1c9c8d8bae 100644
--- a/src/os_unixx.h
+++ b/src/os_unixx.h
@@ -52,9 +52,7 @@
#endif
#endif
-#ifdef HAVE_STRING_H
# include <string.h>
-#endif
#ifdef HAVE_SYS_STREAM_H
# include <sys/stream.h>