Browse Source

Fix osx build

0.8
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 @@ -65,7 +65,7 @@ CFLAGS = -g
endif
# 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)
OBJS= \

2
src/util.cpp

@ -819,7 +819,7 @@ boost::filesystem::path GetDefaultDataDir() @@ -819,7 +819,7 @@ boost::filesystem::path GetDefaultDataDir()
#ifdef MAC_OSX
// Mac
pathRet /= "Library/Application Support";
filesystem::create_directory(pathRet);
fs::create_directory(pathRet);
return pathRet / "Bitcoin";
#else
// Unix

Loading…
Cancel
Save