summaryrefslogtreecommitdiff
path: root/src/common/memory_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/memory_util.h')
-rw-r--r--src/common/memory_util.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/common/memory_util.h b/src/common/memory_util.h
index 49b2589da..922bd44b2 100644
--- a/src/common/memory_util.h
+++ b/src/common/memory_util.h
@@ -2,9 +2,7 @@
2// Licensed under GPLv2 2// Licensed under GPLv2
3// Refer to the license.txt file included. 3// Refer to the license.txt file included.
4 4
5 5#pragma once
6#ifndef _MEMORYUTIL_H
7#define _MEMORYUTIL_H
8 6
9#ifndef _WIN32 7#ifndef _WIN32
10#include <sys/mman.h> 8#include <sys/mman.h>
@@ -21,5 +19,3 @@ void UnWriteProtectMemory(void* ptr, size_t size, bool allowExecute = false);
21std::string MemUsage(); 19std::string MemUsage();
22 20
23inline int GetPageSize() { return 4096; } 21inline int GetPageSize() { return 4096; }
24
25#endif