Define strdup under Windows in contrib/windows.h
This commit is contained in:
parent
835823809f
commit
66aef98c40
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@
|
||||||
# define snprintf(S, n, F, ...) sprintf(S, F, __VA_ARGS__)
|
# define snprintf(S, n, F, ...) sprintf(S, F, __VA_ARGS__)
|
||||||
# else
|
# else
|
||||||
# define snprintf sprintf_s
|
# define snprintf sprintf_s
|
||||||
|
# define strdup _strdup
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue