aboutsummaryrefslogtreecommitdiff
path: root/graphics/scaler/scale3x.h
diff options
context:
space:
mode:
authorJoost Peters2009-08-14 17:18:03 +0000
committerJoost Peters2009-08-14 17:18:03 +0000
commitedaa4a042237477fa38ddb2957c3a41888730633 (patch)
tree020082f54dddf0a4b7f266082955dea63317ded3 /graphics/scaler/scale3x.h
parentddf617e2a7fcb0355cadb18156ef3281c9e9ce28 (diff)
downloadscummvm-rg350-edaa4a042237477fa38ddb2957c3a41888730633.tar.gz
scummvm-rg350-edaa4a042237477fa38ddb2957c3a41888730633.tar.bz2
scummvm-rg350-edaa4a042237477fa38ddb2957c3a41888730633.zip
MIPSpro compilation fixes / workarounds (from a patch by Rainer Canavan)
The hashmap.h change is ugly, but so far the only thing found to work. Suggestions for a better "fix" appreciated! svn-id: r43380
Diffstat (limited to 'graphics/scaler/scale3x.h')
-rw-r--r--graphics/scaler/scale3x.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/scaler/scale3x.h b/graphics/scaler/scale3x.h
index 3f24d884e1..671a207570 100644
--- a/graphics/scaler/scale3x.h
+++ b/graphics/scaler/scale3x.h
@@ -25,6 +25,10 @@
#define __restrict__
#endif
+#ifdef __sgi
+#define __restrict__ __restrict
+#endif
+
typedef unsigned char scale3x_uint8;
typedef unsigned short scale3x_uint16;
typedef unsigned scale3x_uint32;