blob: cecaa3d07655006fa748e95be40314c04d6c56fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* Copyright (c) 2013 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file. */
#include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
#if defined(__native_client__)
// Don't wrap mkdir on host builds. This allows us to test against the real
// "mkdir" on Linux standalone builds.
int mkdir(const char* pathname, mode_t mode) {
return ki_mkdir(pathname, mode);
}
#endif
|