When clang works in MSVC mode, it does have the _byteswap_ulong builtin, but one has to include stdlib.h before using it. --- libavutil/x86/bswap.h | 1 + 1 file changed, 1 insertion(+)
diff --git a/libavutil/x86/bswap.h b/libavutil/x86/bswap.h index ffa59e4c82..b2f18b6c93 100644 --- a/libavutil/x86/bswap.h +++ b/libavutil/x86/bswap.h @@ -26,6 +26,7 @@ #include <stdint.h> #if defined(_MSC_VER) +#include <stdlib.h> #include <intrin.h> #endif #include "config.h" -- 2.17.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".