mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 12:27:21 +00:00
Better declaration for our vsscanf.
This commit is contained in:
parent
854fa616aa
commit
b5026faa89
@ -77,12 +77,6 @@ typedef _fsize_t ssize_t;
|
|||||||
# define LLD "%I64d"
|
# define LLD "%I64d"
|
||||||
# define LLU "%I64u"
|
# define LLU "%I64u"
|
||||||
|
|
||||||
# if defined(COMP_MSC)
|
|
||||||
# include <stdio.h>
|
|
||||||
int MTX_DLL_API vsscanf(const char *, const char *, va_list argPtr);
|
|
||||||
# endif // COMP_MSC
|
|
||||||
|
|
||||||
|
|
||||||
#else // COMP_MINGW || COMP_MSC
|
#else // COMP_MINGW || COMP_MSC
|
||||||
|
|
||||||
# define MTX_DLL_API
|
# define MTX_DLL_API
|
||||||
@ -119,4 +113,10 @@ typedef UINT64_TYPE uint64_t;
|
|||||||
# define ARCH_LITTLEENDIAN
|
# define ARCH_LITTLEENDIAN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// MSVC doesn't provide vsscanf. So let's use our own frontend.
|
||||||
|
#if !defined(HAVE_VSSCANF) || (HAVE_VSSCANF != 1)
|
||||||
|
# include <stdio.h>
|
||||||
|
int vsscanf(const char *, const char *, va_list);
|
||||||
|
#endif // !HAVE_VSSCANF...
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user