git.samba.org
/
jelmer
/
samba3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5380d43
)
Simplify SIG_ATOMIC_T define, since sig_atomic_t is always provided by
author
Jelmer Vernooij
<jelmer@samba.org>
Sun, 19 Oct 2008 07:51:26 +0000
(09:51 +0200)
committer
Jelmer Vernooij
<jelmer@samba.org>
Sun, 19 Oct 2008 07:51:26 +0000
(09:51 +0200)
libreplace.
source3/include/includes.h
patch
|
blob
|
history
diff --git
a/source3/include/includes.h
b/source3/include/includes.h
index 760280eb0e637c107a9e334d5d1ce76dee295b32..eb2cacbdc729bc6fac7aa57cf93a3d1b488d9de7 100644
(file)
--- 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
in
t volatile SIG_ATOMIC_T;
+typedef
sig_atomic_
t volatile SIG_ATOMIC_T;
#endif
#ifndef uchar