diff options
author | John Emmas <johne53@tiscali.co.uk> | 2014-11-04 15:42:04 +0000 |
---|---|---|
committer | John Emmas <johne53@tiscali.co.uk> | 2014-11-04 15:42:04 +0000 |
commit | 227732d15ba06ffeaa4d3e2f70b65e544b2ea3b2 (patch) | |
tree | cf177796da9d99faadbdad01671b9ded87896232 /libs | |
parent | 6420482a36823a62d2d3690c5203ffd4156f351e (diff) |
When building with MSVC undef type VOID if we're declaring an enum called VOID
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/ardour/variant.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/ardour/variant.h b/libs/ardour/ardour/variant.h index cc483e3cdf..712d559c94 100644 --- a/libs/ardour/ardour/variant.h +++ b/libs/ardour/ardour/variant.h @@ -29,6 +29,10 @@ #include "ardour/libardour_visibility.h" #include "pbd/compose.h" +#ifdef COMPILER_MSVC +#undef VOID +#endif + namespace ARDOUR { /** A value with dynamic type (tagged union). */ |