ALib C++ Library
Library Version: 2510 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
files.prepro.hpp
Go to the documentation of this file.
1//==================================================================================================
2/// \file
3/// This header-file is part of the \aliblong.
4///
5/// \emoji :copyright: 2013-2025 A-Worx GmbH, Germany.
6/// Published under \ref mainpage_license "Boost Software License".
7//==================================================================================================
8#ifndef HPP_ALIB_FILES_PP
9#define HPP_ALIB_FILES_PP
10#pragma once
11#ifndef INL_ALIB
12# include "alib/alib.inl"
13#endif
14#if ALIB_FILES
15
16// #################################################################################################
17// Symbols introduced by module ALib.Files
18// #################################################################################################
19
20// Symbol ALIB_FILES_SCANNER_IMPL
21#if !defined(ALIB_FILES_FORCE_STD_SCANNER)
22# define ALIB_FILES_FORCE_STD_SCANNER 0
23#endif
24
25#if defined(ALIB_FILES_SCANNER_IMPL)
26# error "Symbol ALIB_FILES_SCANNER_IMPL must not be set from outside! Use ALIB_FILES_FORCE_STD_SCANNER."
27#endif
28
29#define ALIB_FILES_SCANNER_STDFS 1
30#define ALIB_FILES_SCANNER_POSIX 2
31
32#if ( ( defined(__GLIBCXX__) && !defined(__MINGW32__) ) \
33 || defined(__APPLE__) \
34 || defined(_LIBCPP_VERSION) \
35 || defined(__ANDROID_NDK__) ) \
36 && !ALIB_FILES_FORCE_STD_SCANNER
37# define ALIB_FILES_SCANNER_IMPL ALIB_FILES_SCANNER_POSIX
38#else
39# define ALIB_FILES_SCANNER_IMPL ALIB_FILES_SCANNER_STDFS
40#endif
41
42
43
44
45#endif
46#endif // HPP_ALIB_FILES_PP
47