diff options
Diffstat (limited to 'common/scaler')
-rw-r--r-- | common/scaler/scale2x.h | 4 | ||||
-rw-r--r-- | common/scaler/scale3x.h | 4 |
2 files changed, 8 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; diff --git a/common/scaler/scale3x.h b/common/scaler/scale3x.h index 14655d00fa..3f24d884e1 100644 --- a/common/scaler/scale3x.h +++ b/common/scaler/scale3x.h @@ -21,6 +21,10 @@ #ifndef __SCALE3X_H #define __SCALE3X_H +#if defined(_MSC_VER) +#define __restrict__ +#endif + typedef unsigned char scale3x_uint8; typedef unsigned short scale3x_uint16; typedef unsigned scale3x_uint32; |