Merge pull request #546 from workhorsy/header_guard_to_pragma_once

Changed lingering header include guards to pragma once.
This commit is contained in:
Tony Wasserka 2014-07-06 14:19:32 +02:00
commit a798548c30
3 changed files with 4 additions and 12 deletions

View File

@ -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;

View File

@ -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

View File

@ -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