Empty structure types aren't allowed with MSVC.
I haven't tested this change. Hope I haven't broken it...
#define UTIL_MEMPOOL_MAGIC 0xcafe4321
-struct util_mempool_block_body {};
+struct util_mempool_block_body { char dummy; };
/* The block is either allocated memory or free space. */
struct util_mempool_block {
UTIL_MEMPOOL_MULTITHREADED = TRUE
};
-struct util_mempool_page_body {};
+struct util_mempool_page_body { char dummy; };
/* The page is an array of blocks (allocations). */
struct util_mempool_page {