diff --git a/src/conio/scale.c b/src/conio/scale.c
index 05d356b4130f3eddc14a32fc14c868068fe5fdf4..7014a76be6e639351e5a5ead015b934935fca1f2 100644
--- a/src/conio/scale.c
+++ b/src/conio/scale.c
@@ -625,7 +625,10 @@ pointy_scale3(uint32_t* src, uint32_t* dest, int width, int height)
 	}
 }
 
-static __attribute__((always_inline))
+static
+#ifndef _MSC_VER
+__attribute__((always_inline))
+#endif
 uint32_t blend(const uint32_t c1, const uint32_t c2, const double weight)
 {
 	uint8_t yuv1[4];
diff --git a/src/syncterm/ripper.c b/src/syncterm/ripper.c
index b406d0817a84a6ab59d2514670508d4ff7b37d18..8338988fb43ab4d745a663a9e6266b5656e282e9 100644
--- a/src/syncterm/ripper.c
+++ b/src/syncterm/ripper.c
@@ -10156,7 +10156,9 @@ rip_bezier(int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4, int c
 	i = 0;
 	targets[i++] = x1;
 	targets[i++] = y1;
+#ifndef _MSC_VER
 	#pragma clang loop vectorize(enable)
+#endif
 	for (step = 1; step < cnt; step++) {
 		double tf = ((double)step) / cnt;
 		double tr = ((double)(cnt - step)) / cnt;