1# sig_atomic_t.m4 serial 3
2dnl Copyright (C) 2003, 2009-2014 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it,
5dnl with or without modifications, as long as this notice is preserved.
6
7AC_DEFUN([gt_TYPE_SIG_ATOMIC_T],
8[
9  AC_CHECK_TYPES([sig_atomic_t], ,
10    [AC_DEFINE([sig_atomic_t], [int],
11       [Define as an integer type suitable for memory locations that can be
12        accessed atomically even in the presence of asynchronous signals.])],
13    [#include <signal.h>])
14])
15