WIP FPC-III support
[linux/fpc-iii.git] / include / acpi / platform / acgccex.h
blob7c88fd1de95596e194df4102af265c591f709d07
1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
2 /******************************************************************************
4 * Name: acgccex.h - Extra GCC specific defines, etc.
6 * Copyright (C) 2000 - 2020, Intel Corp.
8 *****************************************************************************/
10 #ifndef __ACGCCEX_H__
11 #define __ACGCCEX_H__
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):
18 * error: logical '&&' with non-zero constant will always evaluate as true
20 #ifdef strchr
21 #undef strchr
22 #endif
24 #endif /* __ACGCCEX_H__ */