lib2245: Compile fix for mingw

This commit is contained in:
Solomon Peachy 2020-08-05 08:04:32 -04:00
parent 5094d5051b
commit 1c6062d967

View file

@ -39,7 +39,7 @@
*/
#define LIB_VERSION "0.1.0"
#define LIB_VERSION "0.1.1"
#include <string.h>
#include <stdint.h>
@ -230,11 +230,13 @@ struct pic_data {
};
// Data format Sanity checks
#ifndef __WIN32
#define STATIC_ASSERT(test_for_true) _Static_assert((test_for_true), "(" #test_for_true ") failed")
STATIC_ASSERT(sizeof(struct ippData) == 10224);
#undef STATIC_ASSERT
#endif
//-------------------------------------------------------------------------
// Private data declarations