From e6fd96f054718e47688a5cd46337393056d32cb7 Mon Sep 17 00:00:00 2001 From: Gavin Andresen Date: Wed, 9 May 2012 13:56:53 -0400 Subject: [PATCH] Fix osx build --- src/makefile.osx | 2 +- src/util.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/makefile.osx b/src/makefile.osx index 7582da047..eb9ae4ba7 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 156493cd8..1a57cc662 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