Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
pull --rebase: Avoid spurious conflicts and reapplying unnecessary patches
[gitweb.git]
/
compat
/
mingw.h
diff --git
a/compat/mingw.h
b/compat/mingw.h
index afe12ea55469f7a40e35edf8bcf8493e91e0980c..e254fb4e068c3248a1aac33d70e40b620cd91088 100644
(file)
--- a/
compat/mingw.h
+++ b/
compat/mingw.h
@@
-310,3
+310,8
@@
struct mingw_dirent
#define readdir(x) mingw_readdir(x)
struct dirent *mingw_readdir(DIR *dir);
#endif // !NO_MINGW_REPLACE_READDIR
+
+/*
+ * Used by Pthread API implementation for Windows
+ */
+extern int err_win_to_posix(DWORD winerr);