From 369e9272def1d41bec56213512c1966071f54f93 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 19 Jul 2010 10:50:08 -0600 Subject: util: add dummy field to empty structure types Empty structure types aren't allowed with MSVC. I haven't tested this change. Hope I haven't broken it... --- src/gallium/auxiliary/util/u_mempool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/auxiliary/util/u_mempool.h') diff --git a/src/gallium/auxiliary/util/u_mempool.h b/src/gallium/auxiliary/util/u_mempool.h index b8d2aaefb6..c96f9b696b 100644 --- a/src/gallium/auxiliary/util/u_mempool.h +++ b/src/gallium/auxiliary/util/u_mempool.h @@ -43,7 +43,7 @@ enum util_mempool_threading { 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 { -- cgit v1.2.3