Remove redefinition of strndup() which is no longer used in the codebase

This commit is contained in:
Even Rouault
2013-08-12 20:49:19 +02:00
parent b3bce4d594
commit 1a957c2edc
4 changed files with 1 additions and 31 deletions

View File

@@ -34,10 +34,6 @@
# error You do not have strdup on your system.
#endif /* HAVE_STRDUP */
#if !defined(HAVE_STRNDUP)
char* strndup(const char* str, size_t n);
#endif /* !HAVE_STRNDUP */
#if !defined(HAVE_SNPRINTF) && defined(_MSC_VER)
/* MSC has the version as _snprintf */
# define snprintf _snprintf