mirror of https://github.com/axmolengine/axmol.git
add 'static' for global function
This commit is contained in:
parent
250875b081
commit
7fb448e90f
|
@ -1108,7 +1108,7 @@ bool FileUtils::createDirectory(const std::string& path)
|
|||
}
|
||||
|
||||
#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS) || (CC_TARGET_PLATFORM == CC_PLATFORM_MAC)
|
||||
int unlink_cb(const char *fpath, const struct stat *sb, int typeflag, struct FTW *ftwbuf)
|
||||
static int unlink_cb(const char *fpath, const struct stat *sb, int typeflag, struct FTW *ftwbuf)
|
||||
{
|
||||
auto ret = remove(fpath);
|
||||
if (ret) {
|
||||
|
|
Loading…
Reference in New Issue