summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/win32/mingw-compat.h2
-rw-r--r--src/win32/pthread.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/win32/mingw-compat.h b/src/win32/mingw-compat.h
index fe0abfb54..b06dda209 100644
--- a/src/win32/mingw-compat.h
+++ b/src/win32/mingw-compat.h
@@ -24,6 +24,8 @@ GIT_INLINE(size_t) p_strnlen(const char *s, size_t maxlen) {
return end ? (size_t)(end - s) : maxlen;
}
+typedef struct { void *Ptr; } SRWLOCK;
+
#endif
#endif /* INCLUDE_mingw_compat__ */
diff --git a/src/win32/pthread.h b/src/win32/pthread.h
index e84de471f..679ebed23 100644
--- a/src/win32/pthread.h
+++ b/src/win32/pthread.h
@@ -25,8 +25,6 @@ typedef CRITICAL_SECTION pthread_mutex_t;
typedef HANDLE pthread_t;
typedef HANDLE pthread_cond_t;
-/* typedef struct { void *Ptr; } SRWLOCK; */
-
typedef struct {
union {
SRWLOCK srwl;