Backport #3822: win32ole: Remove definition of NONAMELESSUNION in MinGW
http://redmine.ruby-lang.org/issues/show/3822

Author: Luis Lavena
Status: Open, Priority: Normal
Category: ext

As reported in Bug #3637 of Ruby 1.9, NONAMELESSUNION is introducing a pr=
oblem for cross compilation.

Find attached a patch that includes the manual backport of the changes in=
troduced in trunk for r28835 and r28894

Please consider applying those changes.

Thank you.


----------------------------------------
http://redmine.ruby-lang.org
RnJvbSBlNWQ0ODQ1YTViN2YyMGMwYzA3MTFjYTk2ZmY5ODQwOTQ3MzlhZTg4
IE1vbiBTZXAgMTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBMdWlzIExhdmVuYSA8
bHVpc2xhdmVuYUBnbWFpbC5jb20+CkRhdGU6IFN1biwgMTIgU2VwIDIwMTAg
MTc6NTg6MTYgLTAzMDAKU3ViamVjdDogW1BBVENIIDMvM10gRml4IE5PTkFN
RUxFU1NVTklPTiB3aW4zMm9sZSBpc3N1ZXMgYnkgbWFudWFsbHkgYmFja3Bv
cnQgcjI4ODM1IGFuZCByMjg4OTQKCi0tLQogZXh0L3dpbjMyb2xlL2V4dGNv
bmYucmIgfCAgICAyIC0tCiBleHQvd2luMzJvbGUvd2luMzJvbGUuYyB8ICAg
MTYgKysrKysrKysrKysrKystLQogMiBmaWxlcyBjaGFuZ2VkLCAxNCBpbnNl
cnRpb25zKCspLCA0IGRlbGV0aW9ucygtKQoKZGlmZiAtLWdpdCBhL2V4dC93
aW4zMm9sZS9leHRjb25mLnJiIGIvZXh0L3dpbjMyb2xlL2V4dGNvbmYucmIK
aW5kZXggY2VlOTIyNS4uNTY1OTY0YyAxMDA2NDQKLS0tIGEvZXh0L3dpbjMy
b2xlL2V4dGNvbmYucmIKKysrIGIvZXh0L3dpbjMyb2xlL2V4dGNvbmYucmIK
QEAgLTM1LDcgKzM1LDUgQEAgZW5kCiBjYXNlIFJVQllfUExBVEZPUk0KIHdo
ZW4gL21zd2luMzIvCiAgICRDRkxBR1MgKz0gJyAvVzMnCi13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