Define strdup under Windows in contrib/windows.h
This commit is contained in:
parent
835823809f
commit
66aef98c40
@ -30,6 +30,7 @@
|
||||
# define snprintf(S, n, F, ...) sprintf(S, F, __VA_ARGS__)
|
||||
# else
|
||||
# define snprintf sprintf_s
|
||||
# define strdup _strdup
|
||||
# endif
|
||||
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user