1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-07-31 00:03:08 +03:00

moved MSVC strdup define to libssh2_config.h which we include already.

This commit is contained in:
Guenter Knauf
2010-06-10 02:31:48 +02:00
parent f682684fdd
commit 2c1c751ad1
2 changed files with 1 additions and 5 deletions

View File

@ -32,11 +32,6 @@
#include <arpa/inet.h>
#endif
#if defined(_WIN32) && !defined(__GNUC__)
/* plain MSVC setups have no normal strdup */
#define strdup _strdup
#endif
#include <sys/types.h>
#include <fcntl.h>
#include <errno.h>