summaryrefslogtreecommitdiff
path: root/src/android
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-05-19 21:49:29 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-05-20 10:40:38 +0300
commit0c1b3f5e4c5f36c19d702529d4b597415f813394 (patch)
tree21da5d45410083c643f74d8b26eaae3289e74e91 /src/android
parent4a7e5d3b8b1be4d8e9bbb00eaf00266f8c0aea9d (diff)
android: Drop gcc 7 compatibility
Now that we have dropped gcc 7 support, remove the compatibility with gcc versions older than 8 that implemented the filesystem API in the std::experimental namespace. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'src/android')
-rw-r--r--src/android/camera_hal_config.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/android/camera_hal_config.cpp b/src/android/camera_hal_config.cpp
index 29e506ff..28072cb8 100644
--- a/src/android/camera_hal_config.cpp
+++ b/src/android/camera_hal_config.cpp
@@ -6,14 +6,7 @@
*/
#include "camera_hal_config.h"
-#if defined(_GLIBCXX_RELEASE) && _GLIBCXX_RELEASE < 8
-#include <experimental/filesystem>
-namespace std {
-namespace filesystem = std::experimental::filesystem;
-}
-#else
#include <filesystem>
-#endif
#include <stdlib.h>
#include <string>