VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Platform
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2023-10-01 11:06:46 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2023-10-01 11:06:46 +0200
commit19fa1f86843230439f3032092d65bbb0f07a399e (patch)
tree3bcaab636ed06cd11dbae07d250444639deb389c /src/Platform
parentda49ebb927cc15e5d77574b608b3a59b05cebc56 (diff)
downloadVeraCrypt-19fa1f86843230439f3032092d65bbb0f07a399e.tar.gz
VeraCrypt-19fa1f86843230439f3032092d65bbb0f07a399e.zip
Linux: use "-std=c++11" for gcc 4.8 and adapt code to old compilers
Diffstat (limited to 'src/Platform')
-rw-r--r--src/Platform/SharedPtr.h2
1 files changed, 1 insertions, 1 deletions
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