Commit db01e438 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

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

This reverts commit 3bceb9cf.
parent 32687bb2
...@@ -783,6 +783,14 @@ VLC_EXPORT( char *, vlc_strcasestr, ( const char *s1, const char *s2 ) LIBVLC_US ...@@ -783,6 +783,14 @@ VLC_EXPORT( char *, vlc_strcasestr, ( const char *s1, const char *s2 ) LIBVLC_US
# ifndef alloca # ifndef alloca
# define alloca _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 # endif
# include <tchar.h> # include <tchar.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment