aboutsummaryrefslogtreecommitdiff
path: root/prescheme-nim-local/ps-init.h
diff options
context:
space:
mode:
Diffstat (limited to 'prescheme-nim-local/ps-init.h')
-rw-r--r--prescheme-nim-local/ps-init.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/prescheme-nim-local/ps-init.h b/prescheme-nim-local/ps-init.h
new file mode 100644
index 0000000..e6f56d2
--- /dev/null
+++ b/prescheme-nim-local/ps-init.h
@@ -0,0 +1,11 @@
+/*
+ * Call Pre-Scheme static initialization before main.
+ */
+__attribute__((constructor))
+void ps_init(void);
+
+/*
+ * Missing definition for open-input-file. Probably an oversight, it's
+ * defined in scheme48.h but should be in prescheme.h.
+ */
+#define NO_ERRORS 0