mirror of
https://github.com/holub/mame
synced 2025-04-16 13:34:55 +03:00
removed deps from 3rdparty to osd (nw)
This commit is contained in:
parent
05c7edb199
commit
e3a6e9b0b8
11
3rdparty/portmidi/pm_linux/pmlinuxalsa.c
vendored
11
3rdparty/portmidi/pm_linux/pmlinuxalsa.c
vendored
@ -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:
|
||||
*/
|
||||
|
19
3rdparty/portmidi/pm_win/pmwinmm.c
vendored
19
3rdparty/portmidi/pm_win/pmwinmm.c
vendored
@ -19,7 +19,24 @@
|
||||
#include "pmwinmm.h"
|
||||
#include <string.h>
|
||||
#include "porttime.h"
|
||||
#include "osdcomm.h"
|
||||
|
||||
#ifndef _WINDOWS_H
|
||||
typedef unsigned int UINT32;
|
||||
#endif
|
||||
|
||||
#ifndef _WINDOWS_H
|
||||
#ifdef _MSC_VER
|
||||
typedef unsigned __int64 UINT64;
|
||||
#else
|
||||
__extension__ typedef unsigned long long UINT64;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef PTR64
|
||||
typedef UINT64 FPTR;
|
||||
#else
|
||||
typedef UINT32 FPTR;
|
||||
#endif
|
||||
|
||||
/* asserts used to verify portMidi code logic is sound; later may want
|
||||
something more graceful */
|
||||
|
@ -500,7 +500,6 @@ project "portmidi"
|
||||
kind "StaticLib"
|
||||
|
||||
includedirs {
|
||||
MAME_DIR .. "src/osd",
|
||||
MAME_DIR .. "3rdparty/portmidi/pm_common",
|
||||
MAME_DIR .. "3rdparty/portmidi/porttime",
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user