mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-01 00:19:20 +00:00
Unix compile fixes.
This commit is contained in:
parent
1172eba620
commit
2a75d4fa6f
@ -37,6 +37,7 @@
|
||||
#include "constants.h"
|
||||
#include "IIndexerWriter.h"
|
||||
#include "ITagStore.h"
|
||||
#include <string>
|
||||
|
||||
namespace musik { namespace core { namespace sdk {
|
||||
|
||||
|
@ -36,6 +36,7 @@
|
||||
|
||||
#include <string>
|
||||
#include <string.h>
|
||||
#include <memory>
|
||||
|
||||
#ifdef WIN32
|
||||
#include <Windows.h>
|
||||
@ -77,4 +78,4 @@ namespace musik { namespace core { namespace sdk { namespace str {
|
||||
return std::string(buf.get(), buf.get() + size - 1); /* omit the '\0' */
|
||||
}
|
||||
|
||||
} } } }
|
||||
} } } }
|
||||
|
@ -49,6 +49,7 @@
|
||||
#include <io.h>
|
||||
#define R_OK 0
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#define DLLEXPORT
|
||||
#endif
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
set (openmptdecoder_SOURCES
|
||||
plugin.cpp
|
||||
OpenMptDecoder.cpp
|
||||
OpenMptIdexerSource.cpp
|
||||
OpenMptIndexerSource.cpp
|
||||
Utility.cpp
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user