]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commit
chd: make LZMA and inline helpers portable
authorStefan Reinauer <stefan.reinauer@coreboot.org>
Thu, 21 May 2026 23:11:14 +0000 (16:11 -0700)
committerStefan Reinauer <stefan.reinauer@coreboot.org>
Mon, 1 Jun 2026 03:16:20 +0000 (20:16 -0700)
commitffa7d7496b59c828168d7913f2caea81b7c196dd
tree11de19c15d63b94481de8abd88561c0435420c94
parentd993b3725ed3819aa95ae87eb11445263649c3b4
chd: make LZMA and inline helpers portable

Use the public LZMA property writer to build decoder properties
instead of the MAME-only allocator helper. This keeps the CHD LZMA
path compatible with the stock SDK interface.

Make ATTR_FORCE_INLINE produce inline definitions on GCC and Clang so
header-defined helpers can be included safely by multiple translation
units. Define PTR64 from CPU_64_BIT when the build has not already
provided it.
archivers/chd/chdcodec.cpp
archivers/chd/chdtypes.h
archivers/chd/osdcomm.h