From 0c1b3f5e4c5f36c19d702529d4b597415f813394 Mon Sep 17 00:00:00 2001
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Date: Thu, 19 May 2022 21:49:29 +0300
Subject: 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>
---
 src/android/camera_hal_config.cpp | 7 -------
 1 file changed, 7 deletions(-)

(limited to 'src/android')

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>
 
-- 
cgit v1.2.1