summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2011-09-25 14:46:07 +0000
committer R. Belmont <rb6502@users.noreply.github.com>2011-09-25 14:46:07 +0000
commitc27b8e078456565e56858046210ab91e9c9ca0fb (patch)
tree776fe0817c2804e87e51d0141b610797e8a8a486 /src/emu
parentdf793794cf0d1f0b254cdb2f80b9bce03032cc99 (diff)
Fix for systems where getc() is a #define rather than a function [ElBarto]
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/fileio.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/emu/fileio.h b/src/emu/fileio.h
index c9cb549036b..53c5fcdf3fb 100644
--- a/src/emu/fileio.h
+++ b/src/emu/fileio.h
@@ -45,7 +45,10 @@
#include "corefile.h"
#include "hash.h"
-
+// some systems use macros for getc/putc rather than functions
+#ifdef getc
+#undef getc
+#endif
//**************************************************************************
// TYPE DEFINITIONS