OSDN Git Service

Revert "Put in place a workaround for compiling on Linux: unset si_ptr which is confl...
authordeskull <deskull@users.sourceforge.jp>
Sat, 14 Nov 2020 13:16:22 +0000 (22:16 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Sat, 14 Nov 2020 13:16:22 +0000 (22:16 +0900)
This reverts commit dcb062b063dd5f8d715bae03bc7fd569d0f8807c.

src/system/h-system.h

index f516cab..04e43fd 100644 (file)
 
 # include <sys/stat.h>
 
-# ifdef si_ptr
-/*
- * Linux (at least Debian 10) defines this to access a field in siginfo_t
- * (see the sigaction(2) man page).  Get rid of it since Hengband isn't
- * using siginfo_t and does use si_ptr in other contexts.
- */
-#  undef si_ptr
-# endif
-
 #endif /* SET_UID */
 
 #include <string.h>