summaryrefslogtreecommitdiff
path: root/src/unix
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-08-30 13:34:14 +0200
committerVicent Marti <tanoku@gmail.com>2011-08-30 13:34:14 +0200
commitf978b748bb50beb0ccbebc3aa118ad289e4c9cba (patch)
tree701bde8e9edb4e4066a4ea54375668c3ae9c3d32 /src/unix
parent3ef7d06302b97a24167cd1ceafeb08b871df1751 (diff)
downloadlibgit2-f978b748bb50beb0ccbebc3aa118ad289e4c9cba.tar.gz
compat: Move `mkstemp` to the POSIX compat layer
Diffstat (limited to 'src/unix')
-rw-r--r--src/unix/posix.h1
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