aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/alan2/sysdep.h
diff options
context:
space:
mode:
authorPaul Gilbert2019-06-18 19:56:25 -0700
committerPaul Gilbert2019-06-22 14:40:49 -0700
commited21388e11a928fc965714a035d2c18887ec7f62 (patch)
treebb41c7bf99f482c2e8964403929a779f976fe21a /engines/glk/alan2/sysdep.h
parent08bc570308b0698090ce668dc7dca4c0c76dd3df (diff)
downloadscummvm-rg350-ed21388e11a928fc965714a035d2c18887ec7f62.tar.gz
scummvm-rg350-ed21388e11a928fc965714a035d2c18887ec7f62.tar.bz2
scummvm-rg350-ed21388e11a928fc965714a035d2c18887ec7f62.zip
GLK: ALAN2: Added missing main code file, hooked up to Alan2 engine skeleton
Diffstat (limited to 'engines/glk/alan2/sysdep.h')
-rw-r--r--engines/glk/alan2/sysdep.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/glk/alan2/sysdep.h b/engines/glk/alan2/sysdep.h
index 72769cb271..5e562cd68f 100644
--- a/engines/glk/alan2/sysdep.h
+++ b/engines/glk/alan2/sysdep.h
@@ -37,6 +37,7 @@
*/
#include "common/scummsys.h"
+#include "common/stream.h"
namespace Glk {
namespace Alan2 {
@@ -55,7 +56,7 @@ namespace Alan2 {
#undef rand
#define rand() g_vm->getRandomNumber(0x7fffffff)
#undef fprintf
-#define fprintf(FP, STR) FP->write(STR, strlen(STR) + 1)
+extern void fprintf(Common::WriteStream *ws, const char *fmt, ...);
#endif
/* Place definitions of OS and compiler here if necessary */