thin-provisioning-tools/block-cache
hongxu-jia 9311aa6483 fix compile failed with libc musl (#103)
There is a failure while compiling with libc musl:
[snip]
|./block-cache/io_engine.h:18:17: error: expected
unqualified-id before numeric constant
|  unsigned const PAGE_SIZE = 4096;
[snip]

The musl defeines macro PAGE_SIZE, undef it conditionally
could fix the issue.

http://musl.openwall.narkive.com/tO8vrHdP/why-musl-define-page-size

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-08-01 07:10:26 +01:00
..
block_cache.cc [block-cache] remove spurious FIXME 2017-08-14 14:12:05 +01:00
block_cache.h [block-cache] tidy hit/miss tracking 2017-08-14 14:11:53 +01:00
copier.cc [block-cache] Fix some bugs in the copier 2016-06-14 16:27:17 +01:00
copier.h [block-cache] Fix some bugs in the copier 2016-06-14 16:27:17 +01:00
io_engine.cc [block-cache] FIx some bugs in the io engine 2016-06-14 16:26:37 +01:00
io_engine.h fix compile failed with libc musl (#103) 2018-08-01 07:10:26 +01:00
list.h forgot block_cache itself 2014-07-22 16:43:44 +01:00
mem_pool.cc [mempool] more tests 2016-06-01 14:46:27 +01:00
mem_pool.h [mempool] more tests 2016-06-01 14:46:27 +01:00