summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/portmidi/osxsupport.h
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2013-01-01 16:11:32 +0000
committer R. Belmont <rb6502@users.noreply.github.com>2013-01-01 16:11:32 +0000
commitad80ff6c3f58529f95ca71d4ec397df6cb7eb25d (patch)
tree965b7d6f81b42ce36d685246ea1d067b88067111 /src/lib/portmidi/osxsupport.h
parente000eedfbbc6c8b5edd9f9e738e2ef12c9f326dc (diff)
portmidi: Initial commit. [R. Belmont]
(nw: this isn't enabled to compile yet, this is just to make it easier to run the final tests on my Mac and my Windows laptop)
Diffstat (limited to 'src/lib/portmidi/osxsupport.h')
-rw-r--r--src/lib/portmidi/osxsupport.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/lib/portmidi/osxsupport.h b/src/lib/portmidi/osxsupport.h
new file mode 100644
index 00000000000..7cbe1f5a4e8
--- /dev/null
+++ b/src/lib/portmidi/osxsupport.h
@@ -0,0 +1,19 @@
+/*
+ osxsupport.h - Cocoa glue to emulated deprecated old Carbon path finder functions
+*/
+
+#ifndef _OSXSUPPORT_H_
+#define _OSXSUPPORT_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+char *FindPrefsDir(void);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
+