diff options
author | Rodrigo Kumpera <kumpera@gmail.com> | 2015-09-10 22:08:09 +0300 |
---|---|---|
committer | Rodrigo Kumpera <kumpera@gmail.com> | 2015-09-10 22:08:37 +0300 |
commit | 4fd72b41e7efac38a87bb76c7668c6ec7b03da57 (patch) | |
tree | 2e6f408c5d334702e9067dee31cdc2e57cc3714f | |
parent | c02307527f76d3f6edb49f6e89b1356287d730d5 (diff) |
Fix the build.
-rw-r--r-- | mono/utils/mono-mmap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mono/utils/mono-mmap.c b/mono/utils/mono-mmap.c index 1ce6d1e610a..bb1ec15d474 100644 --- a/mono/utils/mono-mmap.c +++ b/mono/utils/mono-mmap.c @@ -348,8 +348,9 @@ mono_valloc (void *addr, size_t length, int flags) int mono_vfree (void *addr, size_t length) { + int res; BEGIN_CRITICAL_SECTION; - int res = munmap (addr, length); + res = munmap (addr, length); END_CRITICAL_SECTION; return res; } |