aboutsummaryrefslogtreecommitdiff
path: root/include/libssh
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cynapses.org>2011-01-02 19:13:07 +0100
committerAndreas Schneider <asn@cynapses.org>2011-01-02 19:35:53 +0100
commit2b6fa19fe5bda7eb4728aabaa42a3da28a8e8b0e (patch)
tree035be3c528d54db6f51c8633f34e31149175a29a /include/libssh
parent3f538b3ddd237c04ccdf774b6274bdbbdee0e6e7 (diff)
downloadlibssh-2b6fa19fe5bda7eb4728aabaa42a3da28a8e8b0e.tar.gz
libssh-2b6fa19fe5bda7eb4728aabaa42a3da28a8e8b0e.tar.xz
libssh-2b6fa19fe5bda7eb4728aabaa42a3da28a8e8b0e.zip
cmake: Fixed msvc posix warnings and unsecure functions.
Diffstat (limited to 'include/libssh')
-rw-r--r--include/libssh/priv.h6
1 files changed, 0 insertions, 6 deletions
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 */