From 2c61d12f5b1a4537c539761a386eb6ae28c811ac Mon Sep 17 00:00:00 2001 From: Zorgatone Date: Fri, 22 Jan 2016 16:16:47 +0100 Subject: [PATCH 1/2] Don't use non-standard #pragma once --- rlutil.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rlutil.h b/rlutil.h index 20e4028..9c32ef8 100644 --- a/rlutil.h +++ b/rlutil.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef RLUTIL_H +#define RLUTIL_H /** * File: rlutil.h * @@ -726,3 +727,5 @@ struct CursorHider { } // namespace rlutil #endif + +#endif // RLUTIL_H From fceeeb3e710931f9ef509e50c4503470170e4a94 Mon Sep 17 00:00:00 2001 From: Zorgatone Date: Mon, 25 Jan 2016 10:17:34 +0100 Subject: [PATCH 2/2] Pragma once and include guard combination --- rlutil.h | 1 + 1 file changed, 1 insertion(+) diff --git a/rlutil.h b/rlutil.h index 9c32ef8..1120ab0 100644 --- a/rlutil.h +++ b/rlutil.h @@ -1,3 +1,4 @@ +#pragma once #ifndef RLUTIL_H #define RLUTIL_H /**