From 07426353554cb883b566a3c27edbbf8e8ac39399 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 19 Oct 2008 09:51:26 +0200 Subject: Simplify SIG_ATOMIC_T define, since sig_atomic_t is always provided by libreplace. --- source3/include/includes.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/source3/include/includes.h b/source3/include/includes.h index 760280eb0e..eb2cacbdc7 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -271,12 +271,10 @@ typedef int ber_int_t; /* * Define additional missing types */ -#if defined(HAVE_SIG_ATOMIC_T_TYPE) && defined(AIX) +#if defined(AIX) typedef sig_atomic_t SIG_ATOMIC_T; -#elif defined(HAVE_SIG_ATOMIC_T_TYPE) && !defined(AIX) -typedef sig_atomic_t volatile SIG_ATOMIC_T; #else -typedef int volatile SIG_ATOMIC_T; +typedef sig_atomic_t volatile SIG_ATOMIC_T; #endif #ifndef uchar -- cgit