[vlc-commits] [Git][videolan/vlc][master] vlc_common: use _swab instead of swab
Steve Lhomme (@robUx4)
gitlab at videolan.org
Fri Jan 20 08:30:10 UTC 2023
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
cac3057f by Steve Lhomme at 2023-01-20T08:10:14+00:00
vlc_common: use _swab instead of swab
It requires linking with oldname.lib. We can use _swab directly for win32 code.
- - - - -
1 changed file:
- include/vlc_common.h
Changes:
=====================================
include/vlc_common.h
=====================================
@@ -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 */
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/cac3057f62da3bee9efe1c462030438bb5ba2cb4
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/cac3057f62da3bee9efe1c462030438bb5ba2cb4
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list