HALF ECHO LEARN / REFERENCE COLLECTION

v262.2

src/include/override/sys/param.h

Git blob: 2a4410f526d193ccddfde80a904179fbc7c64f2c

Lines 1–9 of 9

/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once
 
/* sys/param.h from glibc unconditionally overrides the MIN() and MAX() macros which interferes with our own
 * MAX() macro. It also includes a bunch of other headers transitively so we don't want to include
 * sys/param.h in macro.h unconditionally. We'd like to make including this file an error but
 * unfortunately <resolv.h> includes it. However, <resolv.h> doesn't actually make use of anything from
 * sys/param.h, so we override it with an empty file so it can't mess with our macros. */