summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2020-05-21 10:49:41 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2020-05-25 12:05:00 +0200
commitc378f9ee5746b06ead26793881b1449c53b1d7c6 (patch)
tree89d0c471b0085b9ba7b52c29076a6d748c55f111 /doc
parent574249cd721a3cdbb79b6e457384a55827856b6a (diff)
Stub out i18n methods for -DUSE_NLS=OFF
Replacing the macros with stub inline functions allows for more versatile usage, e.g. fixing this compile error: In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/c++locale.h:41, from /usr/include/c++/9/bits/localefwd.h:40, from /usr/include/c++/9/ios:41, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iostream:39, from include/apt-pkg/configuration.h:30, from ../apt-pkg/contrib/netrc.cc:16: /usr/include/c++/9/clocale:54:11: error: ‘::setlocale’ has not been declared 54 | using ::setlocale; Gbp-Dch: Ignore
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions