commit | 461ad5c87ae5f89cd086e47b31372e9123dcfcdf | [log] [tgz] |
---|---|---|
author | Mike Hommey <mh@glandium.org> | Fri Apr 20 08:38:42 2012 +0200 |
committer | Jason Evans <jasone@canonware.com> | Mon Apr 23 11:43:44 2012 -0700 |
tree | 52b9c66d8931f4ad631582d037f1e500f35e259c | |
parent | 40f514fd92d50320075bf9fd8748edb71092a1d8 [diff] |
Avoid using a union for ctl_node_s MSVC doesn't support C99, and as such doesn't support designated initialization of structs and unions. As there is never a mix of indexed and named nodes, it is pretty straightforward to use a different type for each.