Merge branch 'cc65:master' into master
This commit is contained in:
@@ -44,14 +44,20 @@
|
||||
|
||||
|
||||
|
||||
#if defined(__GNUC__)
|
||||
# define attribute(a) __attribute__(a)
|
||||
#ifdef __clang__
|
||||
# define attribute(a) __attribute__(a)
|
||||
# define ATTR_UNUSED(x) __attribute__((__unused__)) x
|
||||
# define ATTR_NORETURN __attribute__((analyzer_noreturn))
|
||||
#elif defined(__GNUC__)
|
||||
# define attribute(a) __attribute__(a)
|
||||
# define ATTR_UNUSED(x) __attribute__((__unused__)) x
|
||||
# define ATTR_NORETURN __attribute__((noreturn))
|
||||
#else
|
||||
# define attribute(a)
|
||||
# define ATTR_UNUSED(x) x
|
||||
# define ATTR_NORETURN
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
/* End of attrib.h */
|
||||
|
||||
#endif
|
||||
|
||||
@@ -486,6 +486,18 @@ int xvsnprintf (char* Buf, size_t Size, const char* Format, va_list ap)
|
||||
}
|
||||
break;
|
||||
|
||||
/* support the MSVC specific I64 for long long */
|
||||
case 'I':
|
||||
F = *Format++;
|
||||
if (F == '6') {
|
||||
F = *Format++;
|
||||
if (F == '4') {
|
||||
F = *Format++;
|
||||
P.LengthMod = lmLongLong;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case 'l':
|
||||
F = *Format++;
|
||||
if (F == 'l') {
|
||||
|
||||
Reference in New Issue
Block a user