[Scummvm-cvs-logs] CVS: scummvm/common/scaler scale2x.h,1.1,1.2 scale3x.h,1.1,1.2
Pawel Kolodziejski
aquadran at users.sourceforge.net
Sat Sep 18 03:26:01 CEST 2004
Update of /cvsroot/scummvm/scummvm/common/scaler
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23402/scummvm/common/scaler
Modified Files:
scale2x.h scale3x.h
Log Message:
fixed msvc compilation for __restrict__
Index: scale2x.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/scaler/scale2x.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- scale2x.h 7 Aug 2004 16:04:43 -0000 1.1
+++ scale2x.h 18 Sep 2004 10:25:49 -0000 1.2
@@ -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;
Index: scale3x.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/scaler/scale3x.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- scale3x.h 7 Aug 2004 16:04:43 -0000 1.1
+++ scale3x.h 18 Sep 2004 10:25:49 -0000 1.2
@@ -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;
More information about the Scummvm-git-logs
mailing list