Fix osx build
This commit is contained in:
parent
9245ff5705
commit
e6fd96f054
2 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@ CFLAGS = -g
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# ppc doesn't work because we don't support big-endian
|
# ppc doesn't work because we don't support big-endian
|
||||||
CFLAGS += -Wall -Wextra -Wformat -Wformat-security -Wno-unused-paramter \
|
CFLAGS += -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter \
|
||||||
$(DEBUGFLAGS) $(DEFS) $(INCLUDEPATHS)
|
$(DEBUGFLAGS) $(DEFS) $(INCLUDEPATHS)
|
||||||
|
|
||||||
OBJS= \
|
OBJS= \
|
||||||
|
|
|
@ -819,7 +819,7 @@ boost::filesystem::path GetDefaultDataDir()
|
||||||
#ifdef MAC_OSX
|
#ifdef MAC_OSX
|
||||||
// Mac
|
// Mac
|
||||||
pathRet /= "Library/Application Support";
|
pathRet /= "Library/Application Support";
|
||||||
filesystem::create_directory(pathRet);
|
fs::create_directory(pathRet);
|
||||||
return pathRet / "Bitcoin";
|
return pathRet / "Bitcoin";
|
||||||
#else
|
#else
|
||||||
// Unix
|
// Unix
|
||||||
|
|
Loading…
Reference in a new issue