Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
0002 /******************************************************************************
0003  *
0004  * Name: acgccex.h - Extra GCC specific defines, etc.
0005  *
0006  * Copyright (C) 2000 - 2022, Intel Corp.
0007  *
0008  *****************************************************************************/
0009 
0010 #ifndef __ACGCCEX_H__
0011 #define __ACGCCEX_H__
0012 
0013 /*
0014  * Some versions of gcc implement strchr() with a buggy macro. So,
0015  * undef it here. Prevents error messages of this form (usually from the
0016  * file getopt.c):
0017  *
0018  * error: logical '&&' with non-zero constant will always evaluate as true
0019  */
0020 #ifdef strchr
0021 #undef strchr
0022 #endif
0023 
0024 #endif              /* __ACGCCEX_H__ */