Define PATH_MAX if not defined by limits.h

This commit is contained in:
Unit 193 2021-12-17 00:53:42 -05:00
parent f437344e79
commit 1996946915

View File

@ -254,6 +254,10 @@
#include <experimental/string_view>
#endif
#ifndef PATH_MAX
#define PATH_MAX 4096
#endif
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Behaviour Switches (see README.md, should match the config in test/filesystem_test.cpp):
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -