1 # sig_atomic_t.m4 serial 3
2 dnl Copyright (C) 2003, 2009-2018 Free Software Foundation, Inc.
3 dnl This file is free software; the Free Software Foundation
4 dnl gives unlimited permission to copy and/or distribute it,
5 dnl with or without modifications, as long as this notice is preserved.
7 AC_DEFUN([gt_TYPE_SIG_ATOMIC_T],
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>])