diff --git a/miniz_tdef.h b/miniz_tdef.h index a830424..ad42684 100644 --- a/miniz_tdef.h +++ b/miniz_tdef.h @@ -108,7 +108,8 @@ enum #endif // The low-level tdefl functions below may be used directly if the above helper functions aren't flexible enough. The low-level functions don't make any heap allocations, unlike the above helper functions. -typedef enum { +typedef enum +{ TDEFL_STATUS_BAD_PARAM = -2, TDEFL_STATUS_PUT_BUF_FAILED = -1, TDEFL_STATUS_OKAY = 0, @@ -116,7 +117,8 @@ typedef enum { } tdefl_status; // Must map to MZ_NO_FLUSH, MZ_SYNC_FLUSH, etc. enums -typedef enum { +typedef enum +{ TDEFL_NO_FLUSH = 0, TDEFL_SYNC_FLUSH = 2, TDEFL_FULL_FLUSH = 3, diff --git a/miniz_zip.h b/miniz_zip.h index 2897adf..0f79bab 100644 --- a/miniz_zip.h +++ b/miniz_zip.h @@ -43,7 +43,8 @@ typedef size_t (*mz_file_write_func)(void *pOpaque, mz_uint64 file_ofs, const vo struct mz_zip_internal_state_tag; typedef struct mz_zip_internal_state_tag mz_zip_internal_state; -typedef enum { +typedef enum +{ MZ_ZIP_MODE_INVALID = 0, MZ_ZIP_MODE_READING = 1, MZ_ZIP_MODE_WRITING = 2, @@ -72,7 +73,8 @@ typedef struct mz_zip_archive_tag } mz_zip_archive; -typedef enum { +typedef enum +{ MZ_ZIP_FLAG_CASE_SENSITIVE = 0x0100, MZ_ZIP_FLAG_IGNORE_PATH = 0x0200, MZ_ZIP_FLAG_COMPRESSED_DATA = 0x0400,