util.h: remove unused macro ALIGN (#20673)

This commit is contained in:
Dean Lee 2021-04-13 16:42:36 +08:00 committed by GitHub
parent 9edda6fbc1
commit eb4666b38f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,9 +20,6 @@
typedef void (*sighandler_t)(int sig); typedef void (*sighandler_t)(int sig);
#endif #endif
#undef ALIGN
#define ALIGN(x, align) (((x) + (align)-1) & ~((align)-1))
// Reads a file into a newly allocated buffer. // Reads a file into a newly allocated buffer.
// //
// Returns NULL on failure, otherwise the NULL-terminated file contents. // Returns NULL on failure, otherwise the NULL-terminated file contents.