mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
r13600@Kushana: nickm | 2007-07-05 23:49:47 -0400
try to fix mingw compile svn:r10743
This commit is contained in:
parent
a1e3b60d2d
commit
bbc7cf86d5
@ -101,6 +101,7 @@ const char compat_c_id[] =
|
||||
|
||||
#include "log.h"
|
||||
#include "util.h"
|
||||
#include "container.h"
|
||||
|
||||
/* Inline the strl functions if the platform doesn't have them. */
|
||||
#ifndef HAVE_STRLCPY
|
||||
@ -1497,8 +1498,8 @@ struct tor_mutex_t {
|
||||
tor_mutex_t *
|
||||
tor_mutex_new(void)
|
||||
{
|
||||
void *r
|
||||
m = tor_malloc_zero(sizeof(tor_mutex_t));
|
||||
void *r;
|
||||
tor_mutex_t *m = tor_malloc_zero(sizeof(tor_mutex_t));
|
||||
r = InitializeCriticalSection(&m->mutex);
|
||||
tor_assert(r != NULL);
|
||||
return m;
|
||||
|
Loading…
Reference in New Issue
Block a user