Revision d2bfb39a vl.c

b/vl.c
68 68
#ifdef __APPLE__
69 69
#include <SDL/SDL.h>
70 70
#endif
71
#if defined(__linux__)
72
/* SDL use the pthreads and they modify sigaction. We don't
73
   want that. */
74
#if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2))
75
extern void __libc_sigaction();
76
#define sigaction(sig, act, oact) __libc_sigaction(sig, act, oact)
77
#else
78
extern void __sigaction();
79
#define sigaction(sig, act, oact) __sigaction(sig, act, oact)
80
#endif
81
#endif /* __linux__ */
82 71
#endif /* CONFIG_SDL */
83 72

  
84 73
#include "disas.h"

Also available in: Unified diff