Browse Source

some gnu software wrongly uses "struct siginfo" instead of siginfo_t...

Rich Felker 14 năm trước cách đây
mục cha
commit
417dbe92cb
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      include/signal.h

+ 1 - 0
include/signal.h

@@ -88,6 +88,7 @@ void (*sigset(int, void (*)(int)))(int);
 #ifdef _GNU_SOURCE
 typedef int (*sighandler_t)(int);
 void (*bsd_signal(int, void (*)(int)))(int);
+#define __siginfo siginfo
 #endif
 
 #include <bits/signal.h>