• R/O
  • HTTP
  • SSH
  • HTTPS

hengbandosx: Commit

The master and develop branches track hengband.

OS X development happens on the macos-1-6-2, macos-2-2-1, and macos-develop branches.


Commit MetaInfo

Revisãodcb062b063dd5f8d715bae03bc7fd569d0f8807c (tree)
Hora2020-09-19 09:04:31
AutorEric Branlund <ebranlund@fast...>
CommiterEric Branlund

Mensagem de Log

Put in place a workaround for compiling on Linux: unset si_ptr which is conflicting with Hengband.

Mudança Sumário

Diff

--- a/src/system/h-system.h
+++ b/src/system/h-system.h
@@ -70,6 +70,15 @@
7070
7171 # include <sys/stat.h>
7272
73+# ifdef si_ptr
74+/*
75+ * Linux (at least Debian 10) defines this to access a field in siginfo_t
76+ * (see the sigaction(2) man page). Get rid of it since Hengband isn't
77+ * using siginfo_t and does use si_ptr in other contexts.
78+ */
79+# undef si_ptr
80+# endif
81+
7382 #endif /* SET_UID */
7483
7584 #include <string.h>
Show on old repository browser