aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2012-05-09 13:56:53 -0400
committerGavin Andresen <gavinandresen@gmail.com>2012-05-09 13:56:53 -0400
commite6fd96f054718e47688a5cd46337393056d32cb7 (patch)
treeee2e0622bacff4fb682e3a16b5bbb95fb25d1058 /src
parent9245ff570533e4cef4d15baa4eeb3d2eca61d437 (diff)
downloadbitcoin-e6fd96f054718e47688a5cd46337393056d32cb7.tar.xz
Fix osx build
Diffstat (limited to 'src')
-rw-r--r--src/makefile.osx2
-rw-r--r--src/util.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/makefile.osx b/src/makefile.osx
index 7582da0472..eb9ae4ba7f 100644
--- a/src/makefile.osx
+++ b/src/makefile.osx
@@ -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= \
diff --git a/src/util.cpp b/src/util.cpp
index 156493cd8b..1a57cc6621 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -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