From 90e994471a385d2b965e3843e1f693ccba6fb699 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 17 Aug 2014 13:45:50 -0400 Subject: Common: Move header guards over to pragma once Also replaced C headers with the C++ equivalent ones --- src/common/common.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'src/common/common.h') 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 @@ // Licensed under GPLv2 // Refer to the license.txt file included. -#ifndef _COMMON_H_ -#define _COMMON_H_ +#pragma once // DO NOT EVER INCLUDE directly _or indirectly_ from this file // since it slows down the build a lot. -#include -#include -#include +#include +#include +#include // Force enable logging in the right modes. For some reason, something had changed // so that debugfast no longer logged. @@ -200,5 +199,3 @@ inline double bswapd(double f) { } #include "swap.h" - -#endif // _COMMON_H_ -- cgit v1.2.3