Changed lingering header include guards to pragma once.
Some headers where using #ifndef to guard being including multiple times. But most were using pragma once. So for consistency I changed them all to use pragma once.
This commit is contained in:
parent
aec4cc7e29
commit
124210c50f
|
@ -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 <limits.h>
|
||||
#include <sys/types.h>
|
||||
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue