Sha256: 0880edde1a6dd62f8650ee8fd61c3200f2891611c4a3c97fecbff0e6c2ebd30c
Contents?: true
Size: 850 Bytes
Versions: 2
Compression:
Stored size: 850 Bytes
Contents
/* * Copyright (C) 2009-2012 the libgit2 contributors * * This file is part of libgit2, distributed under the GNU GPL v2 with * a Linking Exception. For full terms see the included COPYING file. */ #ifndef INCLUDE_posix__w32_h__ #define INCLUDE_posix__w32_h__ #ifndef __sun # include <fnmatch.h> # define p_fnmatch(p, s, f) fnmatch(p, s, f) #else # include "compat/fnmatch.h" #endif #include <stdio.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) #define p_vsnprintf(b, c, f, a) vsnprintf(b, c, f, a) #define p_snprintf(b, c, f, ...) snprintf(b, c, f, __VA_ARGS__) #define p_mkstemp(p) mkstemp(p) #define p_setenv(n,v,o) setenv(n,v,o) #endif
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rugged-0.17.0b2 | ext/rugged/vendor/libgit2-dist/src/unix/posix.h |
rugged-0.17.0b1 | ext/rugged/vendor/libgit2-dist/src/unix/posix.h |