summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/fileio.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/fileio.h')
-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