X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=common%2Fosdep.h;h=520710a9783fb8cb0ff9e8e71e1eeaa16cf51bb6;hb=215afdbd8ecc924f2028f79851458076683e97ad;hp=995d03c417f44d83fb243d40c03b8fd44febd65f;hpb=5be32efc244d96aa56be462664b5c56d7318e86d;p=x264 diff --git a/common/osdep.h b/common/osdep.h index 995d03c4..520710a9 100644 --- a/common/osdep.h +++ b/common/osdep.h @@ -55,7 +55,10 @@ #define strtok_r strtok_s #define S_ISREG(x) (((x) & S_IFMT) == S_IFREG) #if _MSC_VER < 1900 -#define snprintf _snprintf +int x264_snprintf( char *s, size_t n, const char *fmt, ... ); +int x264_vsnprintf( char *s, size_t n, const char *fmt, va_list arg ); +#define snprintf x264_snprintf +#define vsnprintf x264_vsnprintf #endif #endif