aboutsummaryrefslogtreecommitdiff
path: root/pd/src/s_entry.c
diff options
context:
space:
mode:
Diffstat (limited to 'pd/src/s_entry.c')
-rw-r--r--pd/src/s_entry.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/pd/src/s_entry.c b/pd/src/s_entry.c
new file mode 100644
index 00000000..354512e5
--- /dev/null
+++ b/pd/src/s_entry.c
@@ -0,0 +1,10 @@
+/* In NT, this is all there is to pd; the rest sits in a "pdlib" dll so
+that externs can link back to functions defined in pd. */
+
+
+int sys_main(int argc, char **argv);
+
+int main(int argc, char **argv)
+{
+ return (sys_main(argc, argv));
+}