summaryrefslogtreecommitdiff
path: root/src/common/common.h
diff options
context:
space:
mode:
authorGravatar bunnei2014-08-17 20:32:04 -0400
committerGravatar bunnei2014-08-17 20:32:04 -0400
commitb26f25356d4463b5e4ccd36cf7365342d7306e7f (patch)
tree1cbe356089890c22e3f1e4084891f306d6e62d97 /src/common/common.h
parentMerge pull request #53 from lioncash/memmap (diff)
parentCommon: Move remaining C header includes over to their C++ equivalent (diff)
downloadyuzu-b26f25356d4463b5e4ccd36cf7365342d7306e7f.tar.gz
yuzu-b26f25356d4463b5e4ccd36cf7365342d7306e7f.tar.xz
yuzu-b26f25356d4463b5e4ccd36cf7365342d7306e7f.zip
Merge pull request #51 from lioncash/pragma
Common: Move header guards over to pragma once.
Diffstat (limited to 'src/common/common.h')
-rw-r--r--src/common/common.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/common/common.h b/src/common/common.h
index 09027cae1..cb69eabe4 100644
--- a/src/common/common.h
+++ b/src/common/common.h
@@ -2,15 +2,14 @@
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#ifndef _COMMON_H_ 5#pragma once
6#define _COMMON_H_
7 6
8// DO NOT EVER INCLUDE <windows.h> directly _or indirectly_ from this file 7// DO NOT EVER INCLUDE <windows.h> directly _or indirectly_ from this file
9// since it slows down the build a lot. 8// since it slows down the build a lot.
10 9
11#include <stdlib.h> 10#include <cstdlib>
12#include <stdio.h> 11#include <cstdio>
13#include <string.h> 12#include <cstring>
14 13
15// Force enable logging in the right modes. For some reason, something had changed 14// Force enable logging in the right modes. For some reason, something had changed
16// so that debugfast no longer logged. 15// so that debugfast no longer logged.
@@ -200,5 +199,3 @@ inline double bswapd(double f) {
200} 199}
201 200
202#include "swap.h" 201#include "swap.h"
203
204#endif // _COMMON_H_