From 19fa1f86843230439f3032092d65bbb0f07a399e Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 1 Oct 2023 11:06:46 +0200 Subject: Linux: use "-std=c++11" for gcc 4.8 and adapt code to old compilers --- src/Platform/SharedPtr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Platform') diff --git a/src/Platform/SharedPtr.h b/src/Platform/SharedPtr.h index 29669714..f80b2167 100644 --- a/src/Platform/SharedPtr.h +++ b/src/Platform/SharedPtr.h @@ -21,7 +21,7 @@ namespace VeraCrypt { -#if (__cplusplus >= 201103L) +#if (__cplusplus >= 201103L) || defined(__GXX_EXPERIMENTAL_CXX0X__) #define VC_USE_NATIVE_PTR 1 #endif -- cgit v1.2.3