aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2011-05-24 00:19:08 +0200
committerMax Horn2011-05-24 00:19:32 +0200
commitc82f1174886b0182683856bef6066da05d2e1715 (patch)
tree56c3eaf358eb4b19e581ae7abe59416dbcd80072
parent94122f7afbcd1226cf4286bf322568d7f2426fc4 (diff)
downloadscummvm-rg350-c82f1174886b0182683856bef6066da05d2e1715.tar.gz
scummvm-rg350-c82f1174886b0182683856bef6066da05d2e1715.tar.bz2
scummvm-rg350-c82f1174886b0182683856bef6066da05d2e1715.zip
COMMON: Add putc(har) and getc(har) to forbidden symbols
Sorry, buildbot...
-rw-r--r--common/forbidden.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/common/forbidden.h b/common/forbidden.h
index f127983006..c551110d0e 100644
--- a/common/forbidden.h
+++ b/common/forbidden.h
@@ -125,6 +125,27 @@
#endif
+#ifndef FORBIDDEN_SYMBOL_EXCEPTION_getc
+#undef getc
+#define getc(a) FORBIDDEN_SYMBOL_REPLACEMENT
+#endif
+
+#ifndef FORBIDDEN_SYMBOL_EXCEPTION_getchar
+#undef getchar
+#define getchar() FORBIDDEN_SYMBOL_REPLACEMENT
+#endif
+
+#ifndef FORBIDDEN_SYMBOL_EXCEPTION_putc
+#undef putc
+#define putc(a,b) FORBIDDEN_SYMBOL_REPLACEMENT
+#endif
+
+#ifndef FORBIDDEN_SYMBOL_EXCEPTION_putchar
+#undef putchar
+#define putchar(a) FORBIDDEN_SYMBOL_REPLACEMENT
+#endif
+
+
#ifndef FORBIDDEN_SYMBOL_EXCEPTION_setjmp
#undef setjmp
#define setjmp(a) FORBIDDEN_SYMBOL_REPLACEMENT