si_ptr workaround for Linux
On Linux (at least with Debian 10), signal.h ends up setting si_ptr as a preprocessor macro to access a field in the siginfo_t structure. That happens to clash with recent changes on the For2.2.2-Refactoring branch leading to compilation errors. As a somewhat ugly workaround, the For2.2.2-Refactoring-si_ptr-workaround branch on hengbandforosx , https://osdn.net/projects/hengbandforosx/scm/git/hengbandosx/tree/For2.2.2-Refactoring-si_ptr-workaround/ , undefines si_ptr in system/h-system.h. I've also attached that change as a patch from git format-patch.
An alternative way to resolve the problem would be to avoid using si_ptr in the Hengband source code.
I will change the name of si_ptr to some different name instead of the branch by pre processor.
Please wait for a while.
Some files contain SHIFT-JIS encoding. Therefore, this fix will be implemented after branches integration in the process of v3.0.0 Alpha version release.