diff options
author | Brian Paul <brianp@vmware.com> | 2010-07-19 10:50:08 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-07-19 10:50:11 -0600 |
commit | 369e9272def1d41bec56213512c1966071f54f93 (patch) | |
tree | fe0edf26146e153633dbe09b3e8da4016855ab56 /src/gallium/auxiliary/util/u_mempool.c | |
parent | d1671ceb71657a857f80322b96ab1443e9f564d6 (diff) |
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...
Diffstat (limited to 'src/gallium/auxiliary/util/u_mempool.c')
-rw-r--r-- | src/gallium/auxiliary/util/u_mempool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_mempool.c b/src/gallium/auxiliary/util/u_mempool.c index da1cc702ec..c4bb2658f2 100644 --- a/src/gallium/auxiliary/util/u_mempool.c +++ b/src/gallium/auxiliary/util/u_mempool.c @@ -30,7 +30,7 @@ #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 { |