diff --git a/Source/Core/Core/IPC_HLE/fakepoll.h b/Source/Core/Core/IPC_HLE/fakepoll.h index 0a521485ae..2f779682e9 100644 --- a/Source/Core/Core/IPC_HLE/fakepoll.h +++ b/Source/Core/Core/IPC_HLE/fakepoll.h @@ -15,10 +15,9 @@ // * don't set POLLIN or POLLOUT in revents if it wasn't requested // in events (only happens when an fd is in the poll set twice) -#if (_WIN32_WINNT < _WIN32_WINNT_VISTA) +#pragma once -#ifndef _FAKE_POLL_H -#define _FAKE_POLL_H +#if (_WIN32_WINNT < _WIN32_WINNT_VISTA) #include #include @@ -158,8 +157,6 @@ inline int poll(struct pollfd *pollSet, int pollCount, int pollTimeout) return result; } -#endif - #else // (_WIN32_WINNT < _WIN32_WINNT_VISTA) typedef pollfd pollfd_t; diff --git a/Source/Core/Core/PowerPC/Jit64IL/JitIL_Tables.h b/Source/Core/Core/PowerPC/Jit64IL/JitIL_Tables.h index c1150ae23b..d1d65d8b28 100644 --- a/Source/Core/Core/PowerPC/Jit64IL/JitIL_Tables.h +++ b/Source/Core/Core/PowerPC/Jit64IL/JitIL_Tables.h @@ -2,8 +2,7 @@ // Licensed under GPLv2 // Refer to the license.txt file included. -#ifndef JITIL_TABLES_H -#define JITIL_TABLES_H +#pragma once #include "Core/PowerPC/Gekko.h" #include "Core/PowerPC/PPCTables.h" @@ -14,5 +13,3 @@ namespace JitILTables void CompileInstruction(PPCAnalyst::CodeOp & op); void InitTables(); } - -#endif diff --git a/Source/Core/VideoCommon/VertexLoader_Position.h b/Source/Core/VideoCommon/VertexLoader_Position.h index 41e6028f13..a6bbf7c662 100644 --- a/Source/Core/VideoCommon/VertexLoader_Position.h +++ b/Source/Core/VideoCommon/VertexLoader_Position.h @@ -2,8 +2,7 @@ // Licensed under GPLv2 // Refer to the license.txt file included. -#ifndef VERTEXLOADER_POSITION_H -#define VERTEXLOADER_POSITION_H +#pragma once class VertexLoader_Position { public: @@ -18,4 +17,3 @@ public: static TPipelineFunction GetFunction(unsigned int _type, unsigned int _format, unsigned int _elements); }; -#endif