diff options
author | Cyan4973 <cyan@fb.com> | 2018-04-29 14:42:24 (GMT) |
---|---|---|
committer | Cyan4973 <cyan@fb.com> | 2018-04-29 14:42:24 (GMT) |
commit | 5a2501a90d4a0fa581bce334fb23c2c4df69842c (patch) | |
tree | 0062897fc3001a9869669e1b7b0e61898941a2bb /programs | |
parent | 9d4eae59f05270f12fc0c62851424e186ef4ef6e (diff) | |
download | lz4-5a2501a90d4a0fa581bce334fb23c2c4df69842c.zip lz4-5a2501a90d4a0fa581bce334fb23c2c4df69842c.tar.gz lz4-5a2501a90d4a0fa581bce334fb23c2c4df69842c.tar.bz2 |
added a test case for LZ4_decompress_fast_usingDict
with a separated dictionary
since a joined dictionary is now detected as prefix64K.
Also : fixed a minor warning under msys
Diffstat (limited to 'programs')
-rw-r--r-- | programs/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/programs/util.h b/programs/util.h index ef6ca77..d74db0d 100644 --- a/programs/util.h +++ b/programs/util.h @@ -194,7 +194,7 @@ extern "C" { return ((clockEnd - clockStart) * (U64)rate.numer) / ((U64)rate.denom); } -#elif (PLATFORM_POSIX_VERSION >= 200112L) && (defined __UCLIBC__ || ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 17) || __GLIBC__ > 2)) +#elif (PLATFORM_POSIX_VERSION >= 200112L) && (defined __UCLIBC__ || (defined(__GLIBC__) && ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 17) || __GLIBC__ > 2) ) ) #include <time.h> typedef struct timespec UTIL_time_t; |