new file mode 100644
@@ -0,0 +1,18 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+/*
+ * Copyright (C) 2025, Ideas on Board Oy
+ *
+ * C++20 polyfills
+ */
+
+#pragma once
+
+/**
+ * \internal
+ * \file cxx20.h
+ * \brief C++17 implementations of certain C++20 types and functions
+ */
+
+namespace libcamera::internal::cxx20 {
+
+} /* namespace libcamera::internal::cxx20 */
@@ -32,10 +32,17 @@ libcamera_base_private_headers = files([
'utils.h',
])
+libcamera_base_internal_headers = files([
+ 'internal/cxx20.h',
+])
+
libcamera_base_headers = [
libcamera_base_public_headers,
libcamera_base_private_headers,
+ libcamera_base_internal_headers,
]
install_headers(libcamera_base_public_headers,
subdir : libcamera_base_include_dir)
+install_headers(libcamera_base_internal_headers,
+ subdir : libcamera_base_include_dir / 'internal')