blob: 8dda2856aca1cfe52b2fdbfa3c51e36506a8b207 [file] [log] [blame]
Erik Schmauss95857632018-03-14 16:13:07 -07001/* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
Lv Zheng34f3a91b2016-08-04 16:45:47 +08002/******************************************************************************
3 *
4 * Name: acgccex.h - Extra GCC specific defines, etc.
5 *
Bob Moore840c02c2019-01-14 09:55:25 -08006 * Copyright (C) 2000 - 2019, Intel Corp.
Lv Zheng34f3a91b2016-08-04 16:45:47 +08007 *
Erik Schmauss95857632018-03-14 16:13:07 -07008 *****************************************************************************/
Lv Zheng34f3a91b2016-08-04 16:45:47 +08009
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 the
16 * file getopt.c):
17 *
18 * error: logical '&&' with non-zero constant will always evaluate as true
19 */
20#ifdef strchr
21#undef strchr
22#endif
23
24#endif /* __ACGCCEX_H__ */