summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-19 09:51:26 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-19 09:51:26 +0200
commit07426353554cb883b566a3c27edbbf8e8ac39399 (patch)
treea6eecd5196516c1f03969c9321ab465889be685e /source3/include
parent5380d43d3bc84f431d491c40ad37920973870e4e (diff)
downloadsamba-07426353554cb883b566a3c27edbbf8e8ac39399.tar.gz
samba-07426353554cb883b566a3c27edbbf8e8ac39399.tar.bz2
samba-07426353554cb883b566a3c27edbbf8e8ac39399.zip
Simplify SIG_ATOMIC_T define, since sig_atomic_t is always provided by
libreplace.
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h6
1 files 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