Compiler dependency included for tests.

This commit is contained in:
Dmitry 2018-03-09 08:40:24 +03:00
parent 97539334a9
commit 7f0b00ef9b

View file

@ -38,6 +38,8 @@ public:
}
} wl_config_t;
_Static_assert((sizeof(wl_config_t) % 16) == 0, "Size of wl_config_t structure should be compatible with flash encryption");
#ifndef _MSC_VER // MSVS has different format for this define
static_assert(sizeof(wl_config_t) % 16 == 0, "Size of wl_config_t structure should be compatible with flash encryption");
#endif // _MSC_VER
#endif // _WL_Config_H_