summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-07 15:52:45 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:43 +1000
commit001068d26f4fcc8e16e460e8c9d2910271ca7156 (patch)
tree157f67667de79aca0abc3d2c7dd9aeb23b312c0c /lib
parent0d34e811734f4f154a81100462b263f1300cc03b (diff)
downloadsamba-001068d26f4fcc8e16e460e8c9d2910271ca7156.tar.gz
samba-001068d26f4fcc8e16e460e8c9d2910271ca7156.tar.bz2
samba-001068d26f4fcc8e16e460e8c9d2910271ca7156.zip
build: check for volatile
Diffstat (limited to 'lib')
-rw-r--r--lib/replace/wscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index b5a01d6a81..ef8972924b 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -100,6 +100,7 @@ def configure(conf):
conf.CHECK_TYPE('loff_t', 'off_t')
conf.CHECK_TYPE('bool', 'off_t')
conf.CHECK_TYPE('offset_t', 'loff_t')
+ conf.CHECK_TYPE('volatile int', define='HAVE_VOLATILE')
conf.CHECK_TYPE_IN('struct ifaddrs', 'ifaddrs.h')
conf.CHECK_TYPE_IN('struct addrinfo', 'netdb.h')