Simplify SIG_ATOMIC_T define, since sig_atomic_t is always provided by
[abartlet/samba.git/.git] / source3 / include / includes.h
index 760280eb0e637c107a9e334d5d1ce76dee295b32..eb2cacbdc729bc6fac7aa57cf93a3d1b488d9de7 100644 (file)
@@ -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