mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-03-14 19:43:47 +00:00
Define strdup under Windows in contrib/windows.h
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user