浏览代码

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

Rich Felker 14 年之前
父节点
当前提交
417dbe92cb
共有 1 个文件被更改,包括 1 次插入0 次删除
  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>