Browse Source

Fix compilation on some systems with a recent LLVM but no filesystem library

main
Sam Hocevar 10 months ago
parent
commit
e29dd1c4b0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      include/lol/lib/cli11

+ 1
- 1
include/lol/lib/cli11 View File

@@ -21,7 +21,7 @@ namespace std { static auto getenv = [](char const *) { return nullptr; }; }
// that, do not use <version> on systems that do not have it. // that, do not use <version> on systems that do not have it.
#if !defined __SCE__ #if !defined __SCE__
# include <version> # include <version>
# if defined _LIBCPP_HAS_NO_FILESYSTEM_LIBRARY
# if defined _LIBCPP_HAS_NO_FILESYSTEM_LIBRARY || defined _LIBCPP_AVAILABILITY_HAS_NO_FILESYSTEM_LIBRARY
# define CLI11_HAS_FILESYSTEM 0 # define CLI11_HAS_FILESYSTEM 0
# endif # endif
#endif #endif


Loading…
Cancel
Save