From 7af4c5b5c561362cb1135ab504095ae667a9270a Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Fri, 27 Jun 2014 19:16:45 -0700 Subject: This is more reliable --- src/poison.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/poison.hpp') diff --git a/src/poison.hpp b/src/poison.hpp index 27707b3..6903e1a 100644 --- a/src/poison.hpp +++ b/src/poison.hpp @@ -1,4 +1,4 @@ -#ifndef GENERATING_DEPENDENCIES +#pragma once // poison.hpp - List of dangerous functions and objects. // // Copyright © 2013 Ben Longbons @@ -23,6 +23,7 @@ namespace tmwa { +#ifndef GENERATING_DEPENDENCIES // impossible(*) to use safely // removed in C11 # pragma GCC poison gets @@ -119,6 +120,5 @@ namespace tmwa # pragma GCC poison ifstream # pragma GCC poison ofstream # pragma GCC poison fstream -} // namespace tmwa - #endif // GENERATING_DEPENDENCIES +} // namespace tmwa -- cgit v1.2.3-70-g09d2