mirror of https://code.videolan.org/videolan/vlc
vlc_common: use _swab instead of swab
It requires linking with oldname.lib. We can use _swab directly for win32 code.
This commit is contained in:
parent
b37ec9f16a
commit
cac3057f62
|
@ -1162,7 +1162,7 @@ static inline void SetQWLE (void *p, uint64_t qw)
|
|||
|
||||
/* the mingw32 swab() and win32 _swab() prototypes expect a char* instead of a
|
||||
const void* */
|
||||
# define swab(a,b,c) swab((char*) (a), (char*) (b), (c))
|
||||
# define swab(a,b,c) _swab((char*) (a), (char*) (b), (c))
|
||||
|
||||
#endif /* _WIN32 */
|
||||
|
||||
|
|
Loading…
Reference in New Issue