Fix osx build

This commit is contained in:
Gavin Andresen 2012-05-09 13:56:53 -04:00
parent 9245ff5705
commit e6fd96f054
2 changed files with 2 additions and 2 deletions

View file

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

View file

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