[x264-devel] [Git][videolan/x264][master] Fix build on MIPS with AviSynth+ support

Anton Mitrofanov (@BugMaster) gitlab at videolan.org
Tue Feb 22 18:03:39 UTC 2022



Anton Mitrofanov pushed to branch master at VideoLAN / x264


Commits:
95634be6 by Anton Mitrofanov at 2022-02-22T20:46:39+03:00
Fix build on MIPS with AviSynth+ support

- - - - -


1 changed file:

- extras/avisynth_c.h


Changes:

=====================================
extras/avisynth_c.h
=====================================
@@ -106,8 +106,6 @@
 #   define AVS_RISCV
 #elif defined(__sparc_v9__)
 #   define AVS_SPARC
-#else
-#   error Unsupported CPU architecture.
 #endif
 
 //                VC++  LLVM-Clang-cl   MinGW-Gnu
@@ -122,27 +120,12 @@
 #   define AVS_CLANG
 #if defined(_MSC_VER)
 #   define AVS_MSVC
-#   define AVS_FORCEINLINE __attribute__((always_inline))
-#else
-#   define AVS_FORCEINLINE __attribute__((always_inline)) inline
 #endif
-#elif   defined(_MSC_VER)
+#elif defined(_MSC_VER)
 #   define AVS_MSVC
 #   define AVS_MSVC_PURE
-#   define AVS_FORCEINLINE __forceinline
 #elif defined(__GNUC__)
 #   define AVS_GCC
-#   define AVS_FORCEINLINE __attribute__((always_inline)) inline
-#elif defined(__INTEL_COMPILER) || defined(__INTEL_LLVM_COMPILER)
-// Intel C++ Compilers with MSVC command line interface will not appear here rather at _MSC_VER
-#   define AVS_FORCEINLINE inline
-#   undef __forceinline
-#   define __forceinline inline
-#else
-#   error Unsupported compiler.
-#   define AVS_FORCEINLINE inline
-#   undef __forceinline
-#   define __forceinline inline
 #endif
 
 #if defined(_WIN32) || defined(__CYGWIN__)
@@ -159,8 +142,6 @@
 #elif defined(__HAIKU__)
 #   define AVS_HAIKU
 #   define AVS_POSIX
-#else
-#   error Operating system unsupported.
 #endif
 
 #ifndef AVS_MSVC



View it on GitLab: https://code.videolan.org/videolan/x264/-/commit/95634be64308f2f7de9642e908d8ec138025c2bb

-- 
View it on GitLab: https://code.videolan.org/videolan/x264/-/commit/95634be64308f2f7de9642e908d8ec138025c2bb
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the x264-devel mailing list