aboutsummaryrefslogtreecommitdiff
path: root/tools/skycpt/KmpSearch.h
diff options
context:
space:
mode:
authorRobert Göffringmann2005-11-04 00:42:30 +0000
committerRobert Göffringmann2005-11-04 00:42:30 +0000
commitcbe5f667c203de9afc52b892eb19431322537884 (patch)
tree873027a997656d9b80c164b3d8604dad1d35a504 /tools/skycpt/KmpSearch.h
parent4a2bbb0e523c07915ff1eb3eac68bd3d6147a437 (diff)
downloadscummvm-rg350-cbe5f667c203de9afc52b892eb19431322537884.tar.gz
scummvm-rg350-cbe5f667c203de9afc52b892eb19431322537884.tar.bz2
scummvm-rg350-cbe5f667c203de9afc52b892eb19431322537884.zip
Changed the tool so it compiles with g++
svn-id: r19414
Diffstat (limited to 'tools/skycpt/KmpSearch.h')
-rw-r--r--tools/skycpt/KmpSearch.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/skycpt/KmpSearch.h b/tools/skycpt/KmpSearch.h
index 5ca33d4828..717a77b93d 100644
--- a/tools/skycpt/KmpSearch.h
+++ b/tools/skycpt/KmpSearch.h
@@ -1,6 +1,10 @@
#ifndef __KmpSearch__
#define __KmpSearch__
+#ifndef _MSC_VER
+#define __fastcall
+#endif
+
class KmpSearch {
public:
void __fastcall init(const char *subStr);