1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-28 23:09:59 +02:00

Revert "win32: remove old attempts to define snprintf _snprintf"

This reverts commit 3bceb9cfef.
This commit is contained in:
Jean-Baptiste Kempf 2009-04-09 20:58:40 +02:00
parent 32687bb263
commit db01e438b2

View File

@ -783,6 +783,14 @@ VLC_EXPORT( char *, vlc_strcasestr, ( const char *s1, const char *s2 ) LIBVLC_US
# ifndef alloca
# define alloca _alloca
# endif
/* These two are not defined in mingw32 (bug?) */
# ifndef snprintf
# define snprintf _snprintf
# endif
# ifndef vsnprintf
# define vsnprintf _vsnprintf
# endif
# include <tchar.h>