summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-14 03:17:52 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-14 03:17:52 +0200
commitd4f647c859139a56b403e864ebb4ed08f40e35be (patch)
tree982023d475760ed7769ae5540445702160006145 /source3/include
parentefdc50344025d1081fbe35b2fab2d8948b0f36cb (diff)
downloadsamba-d4f647c859139a56b403e864ebb4ed08f40e35be.tar.gz
samba-d4f647c859139a56b403e864ebb4ed08f40e35be.tar.bz2
samba-d4f647c859139a56b403e864ebb4ed08f40e35be.zip
Remove define for VOLATILE, volatile is already provided by libreplace.
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index bcd5fd3b48..a13372665c 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -286,24 +286,14 @@ typedef int ber_int_t;
#endif
/*
- * Define VOLATILE if needed.
- */
-
-#if defined(HAVE_VOLATILE)
-#define VOLATILE volatile
-#else
-#define VOLATILE
-#endif
-
-/*
* Define additional missing types
*/
#if defined(HAVE_SIG_ATOMIC_T_TYPE) && 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;
+typedef sig_atomic_t volatile SIG_ATOMIC_T;
#else
-typedef int VOLATILE SIG_ATOMIC_T;
+typedef int volatile SIG_ATOMIC_T;
#endif
#ifndef uchar