summaryrefslogtreecommitdiff
path: root/mint/stdio.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-01-13 16:50:17 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-01-13 16:50:17 +0000
commit61ae2fbf8676dafa05a9a9a710fde421f30a2071 (patch)
tree4f497a4eee07a49f48be8badf49ad54f068f11f8 /mint/stdio.h
parentb8f0c030659550e4d527ee8f11cd2f012f1bd1b0 (diff)
downloadperl-61ae2fbf8676dafa05a9a9a710fde421f30a2071.tar.gz
Atari MiNT port by Guido Flohr <gufl0000@stud.uni-sb.de>
(the diffs were based on 5.004_02). Tested by Guido and Frank Naumann <fnaumann@prinz-atm.CS.Uni-Magdeburg.De>. p4raw-id: //depot/cfgperl@2594
Diffstat (limited to 'mint/stdio.h')
-rw-r--r--mint/stdio.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/mint/stdio.h b/mint/stdio.h
new file mode 100644
index 0000000000..7b2d65d8a8
--- /dev/null
+++ b/mint/stdio.h
@@ -0,0 +1,21 @@
+/* Wrapper around broken system stdio.h. */
+
+#ifndef _PERL_WRAPPER_AROUND_STDIO_H
+# define _PERL_WRAPPER_AROUND_STDIO_H 1
+
+/* The MiNTLib has a macro called EOS in stdio.h. This conflicts
+ with regnode.h. Who had this glorious idea. */
+#ifdef EOS
+# define PERL_EOS EOS
+#endif
+
+/* First include the system file. */
+#include_next <stdio.h>
+
+#ifdef EOS
+# undef EOS
+# define EOS PERL_EOS
+#endif
+
+#endif
+