79d4eade83
It fixes an error that happens during building on Alpine Linux: ``` In file included from /tmp/td/tdutils/td/utils/port/path.cpp:7:0: /tmp/td/tdutils/td/utils/port/path.h: In function 'td::Status td::walk_path(td::CSlice, Func&&)': /tmp/td/tdutils/td/utils/port/path.h:167:21: error: 'PATH_MAX' was not declared in this scope curr_path.reserve(PATH_MAX + 10); ^~~~~~~~ ``` |
||
---|---|---|
.. | ||
detail | ||
Clocks.cpp | ||
Clocks.h | ||
config.h | ||
CxCli.h | ||
EventFd.h | ||
EventFdBase.h | ||
Fd.cpp | ||
Fd.h | ||
FileFd.cpp | ||
FileFd.h | ||
IPAddress.cpp | ||
IPAddress.h | ||
path.cpp | ||
path.h | ||
platform.h | ||
Poll.h | ||
PollBase.h | ||
RwMutex.h | ||
ServerSocketFd.cpp | ||
ServerSocketFd.h | ||
signals.cpp | ||
signals.h | ||
sleep.cpp | ||
sleep.h | ||
SocketFd.cpp | ||
SocketFd.h | ||
Stat.cpp | ||
Stat.h | ||
thread_local.cpp | ||
thread_local.h | ||
thread.h | ||
wstring_convert.cpp | ||
wstring_convert.h |