提交 fd5b0087 编写于 作者: P Palana

add GetDataFilePath implementation for osx

上级 467362f5
......@@ -18,8 +18,12 @@
#include <sstream>
#include "platform.hpp"
#include <unistd.h>
bool GetDataFilePath(const char *data, string &output)
{
// TODO
return false;
stringstream str;
str << "../data/obs-studio/" << data;
output = str.str();
return !access(output.c_str(), R_OK);
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册