aboutsummaryrefslogtreecommitdiff
path: root/build/mkdir.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-03-12 15:43:17 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-03-12 15:43:17 +0200
commitcf6b3e34b59ad120111e0c1ead779bbb3a70c38d (patch)
tree424e9def98c65d9080e72a69064334c6716fb82b /build/mkdir.cxx
parent5925c11a1fe8b2e02b790dd40b031ae005d5b68f (diff)
Implement clean operation
Diffstat (limited to 'build/mkdir.cxx')
-rw-r--r--build/mkdir.cxx21
1 files changed, 0 insertions, 21 deletions
diff --git a/build/mkdir.cxx b/build/mkdir.cxx
deleted file mode 100644
index 1fbab03..0000000
--- a/build/mkdir.cxx
+++ /dev/null
@@ -1,21 +0,0 @@
-// file : build/mkdir.cxx -*- C++ -*-
-// copyright : Copyright (c) 2014-2015 Code Synthesis Tools CC
-// license : MIT; see accompanying LICENSE file
-
-#include <build/mkdir>
-
-#include <sys/stat.h> // mkdir()
-
-#include <system_error>
-
-using namespace std;
-
-namespace build
-{
- void
- mkdir (const path& p, mode_t m)
- {
- if (::mkdir (p.string ().c_str (), m) != 0)
- throw system_error (errno, system_category ());
- }
-}