12345678910111213141516171819202122 |
- /*
- * Copyright (c) 2018-2022, Andreas Kling <kling@serenityos.org>
- *
- * SPDX-License-Identifier: BSD-2-Clause
- */
- #pragma once
- #include <endian.h>
- #include <limits.h>
- #ifndef MIN
- # define MIN(a, b) (((a) < (b)) ? (a) : (b))
- #endif
- #ifndef MAX
- # define MAX(a, b) (((a) > (b)) ? (a) : (b))
- #endif
- #ifndef howmany
- # define howmany(x, y) (((x) + ((y)-1)) / (y))
- #endif
|