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:
Steve Lhomme 2023-01-16 16:09:54 +01:00
parent b37ec9f16a
commit cac3057f62
1 changed files with 1 additions and 1 deletions

View File

@ -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 */