]> git.proxmox.com Git - libgit2.git/blob - src/unix/posix.h
Merge pull request #474 from schu/clang-unused
[libgit2.git] / src / unix / posix.h
1 /*
2 * Copyright (C) 2009-2011 the libgit2 contributors
3 *
4 * This file is part of libgit2, distributed under the GNU GPL v2 with
5 * a Linking Exception. For full terms see the included COPYING file.
6 */
7 #ifndef INCLUDE_posix__w32_h__
8 #define INCLUDE_posix__w32_h__
9
10 #include <fnmatch.h>
11
12 #define p_lstat(p,b) lstat(p,b)
13 #define p_readlink(a, b, c) readlink(a, b, c)
14 #define p_link(o,n) link(o, n)
15 #define p_unlink(p) unlink(p)
16 #define p_mkdir(p,m) mkdir(p, m)
17 #define p_fsync(fd) fsync(fd)
18 #define p_realpath(p, po) realpath(p, po)
19 #define p_fnmatch(p, s, f) fnmatch(p, s, f)
20 #define p_vsnprintf(b, c, f, a) vsnprintf(b, c, f, a)
21 #define p_snprintf(b, c, f, ...) snprintf(b, c, f, __VA_ARGS__)
22 #define p_mkstemp(p) mkstemp(p)
23 #define p_setenv(n,v,o) setenv(n,v,o)
24
25 #endif