Temporary compilation fix for VC++

This commit is contained in:
Bertrand Songis
2016-02-26 13:33:50 +01:00
parent 2b9242fac2
commit ee533c7950
9 changed files with 22 additions and 14 deletions
+8 -1
View File
@@ -31,14 +31,21 @@ struct Zone
uint16_t x, y, w, h;
};
#define LEN_ZONE_OPTION_STRING 8
union ZoneOptionValue
{
bool boolValue;
uint32_t unsignedValue;
int32_t signedValue;
char stringValue[8];
char stringValue[LEN_ZONE_OPTION_STRING];
};
#if defined(_MSC_VER)
#define OPTION_DEFAULT_VALUE(x)
#else
#define OPTION_DEFAULT_VALUE(x) x
#endif
struct ZoneOption
{
enum Type {