summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-11-03 17:35:47 +0100
committerStefan Metzmacher <metze@samba.org>2010-11-03 18:31:16 +0000
commit811a36282a61347ac39a339e54900dbfbb7504d9 (patch)
treeb8d39cac8f269c5e16d9a3d6523684e32ba49d0f
parent3dcec24173f3be916c1a74c46a942651ccf950d1 (diff)
downloadsamba-811a36282a61347ac39a339e54900dbfbb7504d9.tar.gz
samba-811a36282a61347ac39a339e54900dbfbb7504d9.tar.bz2
samba-811a36282a61347ac39a339e54900dbfbb7504d9.zip
replace/wscript: define bool to int instead of off_t
metze
-rw-r--r--lib/replace/wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index f14693d5e3..ce17753677 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -74,6 +74,7 @@ def configure(conf):
conf.CHECK_TYPES('"long long" intptr_t uintptr_t ptrdiff_t comparison_fn_t')
conf.CHECK_TYPE('_Bool', define='HAVE__Bool')
+ conf.CHECK_TYPE('bool', 'int')
conf.CHECK_TYPE('int8_t', 'char')
conf.CHECK_TYPE('uint8_t', 'unsigned char')
conf.CHECK_TYPE('int16_t', 'short')
@@ -86,7 +87,6 @@ def configure(conf):
conf.CHECK_TYPE('ssize_t', 'int')
conf.CHECK_TYPE('ino_t', 'unsigned')
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('uint_t', 'unsigned int')