Unix compile fixes.

This commit is contained in:
casey langen 2020-06-14 19:28:09 -07:00
parent 1172eba620
commit 2a75d4fa6f
4 changed files with 5 additions and 2 deletions

View File

@ -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 {

View File

@ -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' */
} }
} } } } } } } }

View File

@ -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

View File

@ -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
) )