diff options
| author | 2014-08-17 13:45:50 -0400 | |
|---|---|---|
| committer | 2014-08-17 13:45:55 -0400 | |
| commit | 90e994471a385d2b965e3843e1f693ccba6fb699 (patch) | |
| tree | b5835e0b235225f8478f26814205337d26a5d91a /src/common/common.h | |
| parent | Merge pull request #47 from archshift/stdstring (diff) | |
| download | yuzu-90e994471a385d2b965e3843e1f693ccba6fb699.tar.gz yuzu-90e994471a385d2b965e3843e1f693ccba6fb699.tar.xz yuzu-90e994471a385d2b965e3843e1f693ccba6fb699.zip | |
Common: Move header guards over to pragma once
Also replaced C headers with the C++ equivalent ones
Diffstat (limited to '')
| -rw-r--r-- | src/common/common.h | 11 |
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_ | ||