[PATCH 25/57][Arm][GAS] Add support for MVE instruction: vmvn, vqabs and vqneg
[binutils-gdb.git] / readline / rlstdc.h
bloba6d23942af21833e0065f21b2c1842d16b9af4ec
1 /* stdc.h -- macros to make source compile on both ANSI C and K&R C compilers. */
3 /* Copyright (C) 1993-2009 Free Software Foundation, Inc.
5 This file is part of the GNU Readline Library (Readline), a library
6 for reading lines of text with interactive input and history editing.
8 Readline is free software: you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation, either version 3 of the License, or
11 (at your option) any later version.
13 Readline is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with Readline. If not, see <http://www.gnu.org/licenses/>.
22 #if !defined (_RL_STDC_H_)
23 #define _RL_STDC_H_
25 /* Adapted from BSD /usr/include/sys/cdefs.h. */
27 /* A function can be defined using prototypes and compile on both ANSI C
28 and traditional C compilers with something like this:
29 extern char *func PARAMS((char *, char *, int)); */
31 #if !defined (PARAMS)
32 # if defined (__STDC__) || defined (__GNUC__) || defined (__cplusplus)
33 # define PARAMS(protos) protos
34 # else
35 # define PARAMS(protos) ()
36 # endif
37 #endif
39 #ifndef __attribute__
40 # if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8)
41 # define __attribute__(x)
42 # endif
43 #endif
45 #endif /* !_RL_STDC_H_ */