summaryrefslogtreecommitdiff
path: root/src/unix/posix.h
blob: 0793739195d91bc030cc85679c476dc3c8516651 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef INCLUDE_posix__w32_h__
#define INCLUDE_posix__w32_h__

#include "common.h"

#define p_lstat(p,b) lstat(p,b)
#define p_readlink(a, b, c) readlink(a, b, c)
#define p_link(o,n) link(o, n)
#define p_unlink(p) unlink(p)
#define p_mkdir(p,m) mkdir(p, m)
#define p_fsync(fd) fsync(fd)
#define p_realpath(p, po) realpath(p, po)

#endif