195857638SErik Schmauss /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */ 234f3a91bSLv Zheng /****************************************************************************** 334f3a91bSLv Zheng * 434f3a91bSLv Zheng * Name: acgccex.h - Extra GCC specific defines, etc. 534f3a91bSLv Zheng * 6*612c2932SBob Moore * Copyright (C) 2000 - 2023, Intel Corp. 734f3a91bSLv Zheng * 895857638SErik Schmauss *****************************************************************************/ 934f3a91bSLv Zheng 1034f3a91bSLv Zheng #ifndef __ACGCCEX_H__ 1134f3a91bSLv Zheng #define __ACGCCEX_H__ 1234f3a91bSLv Zheng 1334f3a91bSLv Zheng /* 1434f3a91bSLv Zheng * Some versions of gcc implement strchr() with a buggy macro. So, 1534f3a91bSLv Zheng * undef it here. Prevents error messages of this form (usually from the 1634f3a91bSLv Zheng * file getopt.c): 1734f3a91bSLv Zheng * 1834f3a91bSLv Zheng * error: logical '&&' with non-zero constant will always evaluate as true 1934f3a91bSLv Zheng */ 2034f3a91bSLv Zheng #ifdef strchr 2134f3a91bSLv Zheng #undef strchr 2234f3a91bSLv Zheng #endif 2334f3a91bSLv Zheng 2434f3a91bSLv Zheng #endif /* __ACGCCEX_H__ */ 25