DIFF: configure.in bug for linux
Peter David ROSS
petdr at cs.mu.OZ.AU
Mon Mar 23 15:15:04 AEDT 1998
Tyson has already reviewed this.
Index: configure.in
===================================================================
RCS file: /home/mercury1/repository/mercury/configure.in,v
retrieving revision 1.123
diff -u -r1.123 configure.in
--- configure.in 1998/03/11 19:32:00 1.123
+++ configure.in 1998/03/23 04:12:06
@@ -1528,16 +1528,15 @@
#include <signal.h>
#include <linux/version.h>
#if (LINUX_VERSION_CODE >= 0x20100)
- typedef void (* REAL_SIG_PF)(int,
- struct sigcontext);
+ typedef struct sigcontext xxx;
#else
- typedef void (* REAL_SIG_PF)(int,
- struct sigcontext_struct);
+ typedef struct sigcontext_struct xxx;
#endif
+ typedef void (* REAL_SIG_PF)(int, xxx);
int main() {
REAL_SIG_PF handler;
- struct sigcontext foo;
+ xxx foo;
if (0) {
handler(0, foo);
}
More information about the developers
mailing list