summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/portmidi/pm_linux/pmlinuxalsa.c
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/portmidi/pm_linux/pmlinuxalsa.c')
-rw-r--r--3rdparty/portmidi/pm_linux/pmlinuxalsa.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/3rdparty/portmidi/pm_linux/pmlinuxalsa.c b/3rdparty/portmidi/pm_linux/pmlinuxalsa.c
index e76560d2d82..9ca2cf72adf 100644
--- a/3rdparty/portmidi/pm_linux/pmlinuxalsa.c
+++ b/3rdparty/portmidi/pm_linux/pmlinuxalsa.c
@@ -15,10 +15,17 @@
#include "string.h"
#include "porttime.h"
#include "pmlinux.h"
-#include "osdcomm.h"
-
#include <alsa/asoundlib.h>
+typedef unsigned int UINT32;
+__extension__ typedef unsigned long long UINT64;
+
+#ifdef PTR64
+typedef UINT64 FPTR;
+#else
+typedef UINT32 FPTR;
+#endif
+
/* I used many print statements to debug this code. I left them in the
* source, and you can turn them on by changing false to true below:
*/