diff options
author | David Hows <howsdav@gmail.com> | 2015-05-29 16:50:53 +1000 |
---|---|---|
committer | David Hows <howsdav@gmail.com> | 2015-05-29 16:50:53 +1000 |
commit | 44f69e90e57db9c8404897a35070a605a5c3a969 (patch) | |
tree | 4e08686e5c44754a8106eb171c88e3a7a2f51c05 /ext | |
parent | 99021aec5414b717d5731ec6aa15eef8c86d50ed (diff) | |
download | mongo-44f69e90e57db9c8404897a35070a605a5c3a969.tar.gz |
Add fix for C2054 to lz4_compress
Diffstat (limited to 'ext')
-rw-r--r-- | ext/compressors/lz4/lz4_compress.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/compressors/lz4/lz4_compress.c b/ext/compressors/lz4/lz4_compress.c index 0906e1d131d..125aaa11db3 100644 --- a/ext/compressors/lz4/lz4_compress.c +++ b/ext/compressors/lz4/lz4_compress.c @@ -39,6 +39,9 @@ * is being built into the WiredTiger library. */ #include "wiredtiger_config.h" +#ifdef _MSC_VER +#define inline __inline +#endif /* Local compressor structure. */ typedef struct { |