mirror of
https://github.com/status-im/miniupnp.git
synced 2025-01-09 05:42:41 +00:00
miniupnpc/miniupnpc.c: #define strdup to please MSVC
This commit is contained in:
parent
d6c4e55e68
commit
3e5aedae7f
@ -1,4 +1,4 @@
|
|||||||
/* $Id: miniupnpc.c,v 1.110 2012/08/11 05:52:48 nanard Exp $ */
|
/* $Id: miniupnpc.c,v 1.111 2012/10/09 17:53:14 nanard Exp $ */
|
||||||
/* Project : miniupnp
|
/* Project : miniupnp
|
||||||
* Web : http://miniupnp.free.fr/
|
* Web : http://miniupnp.free.fr/
|
||||||
* Author : Thomas BERNARD
|
* Author : Thomas BERNARD
|
||||||
@ -31,6 +31,7 @@
|
|||||||
#include <io.h>
|
#include <io.h>
|
||||||
#include <iphlpapi.h>
|
#include <iphlpapi.h>
|
||||||
#define snprintf _snprintf
|
#define snprintf _snprintf
|
||||||
|
#define strdup _strdup
|
||||||
#ifndef strncasecmp
|
#ifndef strncasecmp
|
||||||
#if defined(_MSC_VER) && (_MSC_VER >= 1400)
|
#if defined(_MSC_VER) && (_MSC_VER >= 1400)
|
||||||
#define strncasecmp _memicmp
|
#define strncasecmp _memicmp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user