From 90e994471a385d2b965e3843e1f693ccba6fb699 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 17 Aug 2014 13:45:50 -0400 Subject: Common: Move header guards over to pragma once Also replaced C headers with the C++ equivalent ones --- src/common/memory_util.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/common/memory_util.h') 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 @@ // Licensed under GPLv2 // Refer to the license.txt file included. - -#ifndef _MEMORYUTIL_H -#define _MEMORYUTIL_H +#pragma once #ifndef _WIN32 #include @@ -21,5 +19,3 @@ void UnWriteProtectMemory(void* ptr, size_t size, bool allowExecute = false); std::string MemUsage(); inline int GetPageSize() { return 4096; } - -#endif -- cgit v1.2.3