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