Define strdup under Windows in contrib/windows.h

This commit is contained in:
Romuald Conty 2010-11-17 10:10:34 +00:00
parent 835823809f
commit 66aef98c40

View file

@ -30,6 +30,7 @@
# define snprintf(S, n, F, ...) sprintf(S, F, __VA_ARGS__)
# else
# define snprintf sprintf_s
# define strdup _strdup
# endif
#endif