From 2b6fa19fe5bda7eb4728aabaa42a3da28a8e8b0e Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sun, 2 Jan 2011 19:13:07 +0100 Subject: cmake: Fixed msvc posix warnings and unsecure functions. --- include/libssh/priv.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'include/libssh') diff --git a/include/libssh/priv.h b/include/libssh/priv.h index d797f5e6..66f24e2d 100644 --- a/include/libssh/priv.h +++ b/include/libssh/priv.h @@ -46,9 +46,6 @@ # undef inline # define inline __inline -# undef strdup -# define strdup _strdup - # define strcasecmp _stricmp # define strncasecmp _strnicmp # define strtoull _strtoui64 @@ -87,9 +84,6 @@ # endif /* HAVE__VSNPRINTF */ # endif /* HAVE__VSNPRINTF_S */ -# ifndef HAVE_STRNCPY -# define strncpy(d, s, n) strncpy_s((d), (n), (s), _TRUNCATE) -# endif # endif /* _MSC_VER */ #else /* _WIN32 */ -- cgit