mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-05 17:01:20 +00:00
Fix MINGW SRWLock typedefs
This commit is contained in:
parent
430953417f
commit
2f368a661c
@ -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__ */
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user