Simplify unlinking outfile

This commit is contained in:
olszomal
2023-11-13 10:23:59 +01:00
committed by Michał Trojnara
parent 57563716d1
commit 6d6270094e
7 changed files with 20 additions and 49 deletions

View File

@ -83,6 +83,12 @@
#endif
#ifdef WIN32
#define remove_file(filename) _unlink(filename)
#else
#define remove_file(filename) unlink(filename)
#endif /* WIN32 */
#define GET_UINT8_LE(p) ((const u_char *)(p))[0]
#define GET_UINT16_LE(p) (uint16_t)(((const u_char *)(p))[0] | \