Add padding to structures so it continues to work if features differ

This commit is contained in:
Martin
2022-02-06 14:57:58 +01:00
parent 9ffbe56a73
commit edc251cfa9
2 changed files with 14 additions and 8 deletions

View File

@@ -36,7 +36,8 @@ typedef int mz_bool;
#ifdef MINIZ_NO_TIME
typedef struct mz_dummy_time_t_tag
{
int m_dummy;
mz_uint32 m_dummy1;
mz_uint32 m_dummy2;
} mz_dummy_time_t;
#define MZ_TIME_T mz_dummy_time_t
#else