From 931606b5711efa59903912e492eb9d035d01e9a3 Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Sat, 19 Oct 2019 07:10:26 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D1=81=D0=BB=D0=BE=D0=B2=D0=B8=D0=B5=20?= =?UTF-8?q?=D0=B4=D0=BB=D1=8F=20GCC=20<=204.8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/myx/filesystem/whereami.cpp | 4 +--- src/myx/filesystem/whereami.hpp | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/myx/filesystem/whereami.cpp b/src/myx/filesystem/whereami.cpp index 1dcebb4..3d4565d 100644 --- a/src/myx/filesystem/whereami.cpp +++ b/src/myx/filesystem/whereami.cpp @@ -1,6 +1,4 @@ -#if !defined( WHEREAMIPP_H ) -#include -#endif +#include namespace whereami { diff --git a/src/myx/filesystem/whereami.hpp b/src/myx/filesystem/whereami.hpp index 3237a2a..f4d01c0 100644 --- a/src/myx/filesystem/whereami.hpp +++ b/src/myx/filesystem/whereami.hpp @@ -67,8 +67,8 @@ typedef WHEREAMI_STRING_T whereami_string_t; #endif #if defined( __GNUC__ ) -#if !( ( __GNUC__ * 100 + __GNUC_MINOR__ ) < 408 ) - #undef WHEREAMI_CXX11 +#if ( ( __GNUC__ * 100 + __GNUC_MINOR__ ) < 408 ) + #undef WHEREAMI_CXX11 #endif #endif