mirror of
https://github.com/ZDoom/ZMusic.git
synced 2025-01-31 04:40:51 +00:00
- fixed compilation on macOS and Linux
This commit is contained in:
parent
26c3c3a1bd
commit
eb7d20d0d2
2 changed files with 7 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
// These constants must match the corresponding values of the Windows headers
|
||||
// to avoid readjustment in the native Windows device's playback functions
|
||||
|
|
|
@ -1,8 +1,14 @@
|
|||
#pragma once
|
||||
#define ZMUSIC_INTERNAL
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define DLL_EXPORT __declspec(dllexport)
|
||||
#define DLL_IMPORT __declspec(dllexport) // without this the compiler complains.
|
||||
#else // !_MSC_VER
|
||||
#define DLL_EXPORT
|
||||
#define DLL_IMPORT
|
||||
#endif // _MSC_VER
|
||||
|
||||
typedef class MIDISource *ZMusic_MidiSource;
|
||||
typedef class MusInfo *ZMusic_MusicStream;
|
||||
|
||||
|
|
Loading…
Reference in a new issue