summaryrefslogtreecommitdiff
path: root/source4/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-03-28 01:57:28 +0000
committerAndrew Tridgell <tridge@samba.org>2004-03-28 01:57:28 +0000
commit9403f3dc7e977d53efe1439ec20461bbc4935fe5 (patch)
treefbfa6cb26b98ffcc7bae342b6f886d37a68b7bc2 /source4/include
parent3744324dbd29ca3c732a3d82fab1c0ee94598eaf (diff)
downloadsamba-9403f3dc7e977d53efe1439ec20461bbc4935fe5.tar.gz
samba-9403f3dc7e977d53efe1439ec20461bbc4935fe5.tar.bz2
samba-9403f3dc7e977d53efe1439ec20461bbc4935fe5.zip
switch from SIG_ATOMIC_T to sig_atomic_t
(This used to be commit b881b72cb9cb5a4a8ad27b621e8cbe9dcfa7ba7f)
Diffstat (limited to 'source4/include')
-rw-r--r--source4/include/includes.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/source4/include/includes.h b/source4/include/includes.h
index ec744920ed..2241425323 100644
--- a/source4/include/includes.h
+++ b/source4/include/includes.h
@@ -422,10 +422,8 @@
/*
* Define additional missing types
*/
-#if defined(HAVE_SIG_ATOMIC_T_TYPE)
-typedef sig_atomic_t SIG_ATOMIC_T;
-#else
-typedef int SIG_ATOMIC_T;
+#ifndef HAVE_SIG_ATOMIC_T_TYPE
+typedef int sig_atomic_t;
#endif
#ifndef HAVE_SOCKLEN_T_TYPE