mirror of https://github.com/FFmpeg/FFmpeg.git
Clang normally disguises as GCC (defining __GNUC__), and thus get all the normal GCC specific attributes. Clang can also work as a drop-in replacement for MSVC, and in these cases, it doesn't define __GNUC__, but defines _MSC_VER instead. Even in these setups, it still supports the GCC style attributes, thus use them, especially where there isn't any MSVC specific version, or where the MSVC specific version doesn't work on clang (for DECLARE_ASM_CONST). Signed-off-by: Martin Storsjö <martin@martin.st>pull/250/head
parent
6f9e34baea
commit
f637046d31
2 changed files with 3 additions and 3 deletions
Loading…
Reference in new issue