Fix version.sh compatiblity with Solaris
[xz/debian.git] / src / liblzma / common / hardware_physmem.c
blob1bc34864e849e0bb1f7ccc51b822b7b2fb0aa586
1 // SPDX-License-Identifier: 0BSD
3 ///////////////////////////////////////////////////////////////////////////////
4 //
5 /// \file hardware_physmem.c
6 /// \brief Get the total amount of physical memory (RAM)
7 //
8 // Author: Jonathan Nieder
9 //
10 ///////////////////////////////////////////////////////////////////////////////
12 #include "common.h"
14 #include "tuklib_physmem.h"
17 extern LZMA_API(uint64_t)
18 lzma_physmem(void)
20 // It is simpler to make lzma_physmem() a wrapper for
21 // tuklib_physmem() than to hack appropriate symbol visibility
22 // support for the tuklib modules.
23 return tuklib_physmem();