diff options
| author | 2014-08-17 13:45:50 -0400 | |
|---|---|---|
| committer | 2014-08-17 13:45:55 -0400 | |
| commit | 90e994471a385d2b965e3843e1f693ccba6fb699 (patch) | |
| tree | b5835e0b235225f8478f26814205337d26a5d91a /src/common/memory_util.h | |
| parent | Merge pull request #47 from archshift/stdstring (diff) | |
| download | yuzu-90e994471a385d2b965e3843e1f693ccba6fb699.tar.gz yuzu-90e994471a385d2b965e3843e1f693ccba6fb699.tar.xz yuzu-90e994471a385d2b965e3843e1f693ccba6fb699.zip | |
Common: Move header guards over to pragma once
Also replaced C headers with the C++ equivalent ones
Diffstat (limited to '')
| -rw-r--r-- | src/common/memory_util.h | 6 |
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); | |||
| 21 | std::string MemUsage(); | 19 | std::string MemUsage(); |
| 22 | 20 | ||
| 23 | inline int GetPageSize() { return 4096; } | 21 | inline int GetPageSize() { return 4096; } |
| 24 | |||
| 25 | #endif | ||