aboutsummaryrefslogtreecommitdiff
path: root/common/scaler/scale2x.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/scaler/scale2x.h')
-rw-r--r--common/scaler/scale2x.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/scaler/scale2x.h b/common/scaler/scale2x.h
index 54bfac5b8f..2101790905 100644
--- a/common/scaler/scale2x.h
+++ b/common/scaler/scale2x.h
@@ -21,6 +21,10 @@
#ifndef __SCALE2X_H
#define __SCALE2X_H
+#if defined(_MSC_VER)
+#define __restrict__
+#endif
+
typedef unsigned char scale2x_uint8;
typedef unsigned short scale2x_uint16;
typedef unsigned scale2x_uint32;