mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-08 07:58:02 +02:00
test: Only use alarm() when SIGALRM is also defined
On some platforms (mingw) the alarm() configure check succeeds, but the alarm function doesn't actually work.
This commit is contained in:
parent
9fcbe25c2d
commit
0bb3e0769a
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@
|
|||
#define ARRAY_SIZE(A) (sizeof(A) / sizeof (A[0]))
|
||||
#endif
|
||||
|
||||
#if ! HAVE_ALARM
|
||||
#if ! HAVE_ALARM || ! defined(SIGALRM)
|
||||
#define alarm(X);
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue