diff options
| author | Vicent Marti <tanoku@gmail.com> | 2011-08-30 13:34:14 +0200 |
|---|---|---|
| committer | Vicent Marti <tanoku@gmail.com> | 2011-08-30 13:34:14 +0200 |
| commit | f978b748bb50beb0ccbebc3aa118ad289e4c9cba (patch) | |
| tree | 701bde8e9edb4e4066a4ea54375668c3ae9c3d32 /src/unix | |
| parent | 3ef7d06302b97a24167cd1ceafeb08b871df1751 (diff) | |
| download | libgit2-f978b748bb50beb0ccbebc3aa118ad289e4c9cba.tar.gz | |
compat: Move `mkstemp` to the POSIX compat layer
Diffstat (limited to 'src/unix')
| -rw-r--r-- | src/unix/posix.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unix/posix.h b/src/unix/posix.h index f355844d9..a49a5cfe7 100644 --- a/src/unix/posix.h +++ b/src/unix/posix.h @@ -13,5 +13,6 @@ #define p_fnmatch(p, s, f) fnmatch(p, s, f) #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) #endif |
