25 lines · c
1/* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */2/******************************************************************************3 *4 * Name: acgccex.h - Extra GCC specific defines, etc.5 *6 * Copyright (C) 2000 - 2023, Intel Corp.7 *8 *****************************************************************************/9 10#ifndef __ACGCCEX_H__11#define __ACGCCEX_H__12 13/*14 * Some versions of gcc implement strchr() with a buggy macro. So,15 * undef it here. Prevents error messages of this form (usually from the16 * file getopt.c):17 *18 * error: logical '&&' with non-zero constant will always evaluate as true19 */20#ifdef strchr21#undef strchr22#endif23 24#endif /* __ACGCCEX_H__ */25