summaryrefslogtreecommitdiff
path: root/dist/s_style
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2011-02-28 15:26:26 +1100
committerMichael Cahill <michael.cahill@wiredtiger.com>2011-02-28 15:26:26 +1100
commite69e7a8553aec4778b385a3127bc294fb824db9d (patch)
treefee8aababb53fcefe760938af9311cbad45d4860 /dist/s_style
parentd9796a0d22a414d9ac73250e6d57a28060155dbf (diff)
downloadmongo-e69e7a8553aec4778b385a3127bc294fb824db9d.tar.gz
Fix the build on 64-bit systems.
Diffstat (limited to 'dist/s_style')
-rw-r--r--dist/s_style3
1 files changed, 2 insertions, 1 deletions
diff --git a/dist/s_style b/dist/s_style
index 6d56db16d39..ff2d84adacc 100644
--- a/dist/s_style
+++ b/dist/s_style
@@ -43,7 +43,8 @@ for f in `sed -e '/^[a-z]/! d' filelist` $extra; do
-e 's/\([|&=+-]\) *\([^*]\)/\1 \2/' \
-e 's/(void) /(void)/' \
-e 's/(unsigned)/(unsigned int)/' \
- -e 's/^#define /#define /' >$t
+ -e 's/^#define /#define /' \
+ -e 's/sizeof(WT_PAGE_DISK)/WT_PAGE_DISK_SIZE/g' >$t
cmp $t $f > /dev/null 2>&1 || (echo "$f" && cp $t $f)
done)