Previous 199869 Revisions Next

r40702 Sunday 13th September, 2015 at 10:45:56 UTC by Miodrag Milanović
removed deps from 3rdparty to osd (nw)
[3rdparty/portmidi/pm_linux]pmlinuxalsa.c
[3rdparty/portmidi/pm_win]pmwinmm.c
[scripts/src]3rdparty.lua

trunk/3rdparty/portmidi/pm_linux/pmlinuxalsa.c
r249213r249214
1515#include "string.h"
1616#include "porttime.h"
1717#include "pmlinux.h"
18#include "osdcomm.h"
19
2018#include <alsa/asoundlib.h>
2119
20typedef unsigned int                        UINT32;
21__extension__ typedef unsigned long long    UINT64;
22
23#ifdef PTR64
24typedef UINT64                              FPTR;
25#else
26typedef UINT32                              FPTR;
27#endif
28
2229/* I used many print statements to debug this code. I left them in the
2330 * source, and you can turn them on by changing false to true below:
2431 */
trunk/3rdparty/portmidi/pm_win/pmwinmm.c
r249213r249214
1919#include "pmwinmm.h"
2020#include <string.h>
2121#include "porttime.h"
22#include "osdcomm.h"
2322
23#ifndef _WINDOWS_H
24typedef unsigned int                        UINT32;
25#endif
26
27#ifndef _WINDOWS_H
28#ifdef _MSC_VER
29typedef unsigned __int64                    UINT64;
30#else
31__extension__ typedef unsigned long long    UINT64;
32#endif
33#endif
34
35#ifdef PTR64
36typedef UINT64                              FPTR;
37#else
38typedef UINT32                              FPTR;
39#endif
40
2441/* asserts used to verify portMidi code logic is sound; later may want
2542    something more graceful */
2643#include <assert.h>
trunk/scripts/src/3rdparty.lua
r249213r249214
500500   kind "StaticLib"
501501
502502   includedirs {
503      MAME_DIR .. "src/osd",
504503      MAME_DIR .. "3rdparty/portmidi/pm_common",
505504      MAME_DIR .. "3rdparty/portmidi/porttime",
506505   }


Previous 199869 Revisions Next


© 1997-2024 The MAME Team