summaryrefslogtreecommitdiffstats
path: root/compat/avisynth/avs/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'compat/avisynth/avs/config.h')
-rw-r--r--compat/avisynth/avs/config.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/compat/avisynth/avs/config.h b/compat/avisynth/avs/config.h
index 7acd95b..a7d3e69 100644
--- a/compat/avisynth/avs/config.h
+++ b/compat/avisynth/avs/config.h
@@ -42,7 +42,7 @@
// alignment. They should always request the exact alignment value they need.
// This is to make sure that plugins work over the widest range of AviSynth
// builds possible.
-#define FRAME_ALIGN 32
+#define FRAME_ALIGN 64
#if defined(_M_AMD64) || defined(__x86_64)
# define X86_64
@@ -52,4 +52,19 @@
# error Unsupported CPU architecture.
#endif
+#if defined(_MSC_VER)
+# define MSVC
+#elif defined(__GNUC__)
+# define GCC
+#elif defined(__clang__)
+# define CLANG
+#else
+# error Unsupported compiler.
+#endif
+
+#if defined(GCC)
+# undef __forceinline
+# define __forceinline inline
+#endif
+
#endif //AVS_CONFIG_H
OpenPOWER on IntegriCloud