Browse Source

Fix osx build

miguelfreitas
Gavin Andresen 13 years ago
parent
commit
e6fd96f054
  1. 2
      src/makefile.osx
  2. 2
      src/util.cpp

2
src/makefile.osx vendored

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

2
src/util.cpp

@ -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…
Cancel
Save