4 * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved.
6 * This file is part of libFirm.
8 * This file may be distributed and/or modified under the terms of the
9 * GNU General Public License version 2 as published by the Free Software
10 * Foundation and appearing in the file LICENSE.GPL included in the
11 * packaging of this file.
13 * Licensees holding valid libFirm Professional Edition licenses may use
14 * this file in accordance with the libFirm Commercial License.
15 * Agreement provided with the Software.
17 * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
18 * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
24 * @brief Provide some GNU CC extensions to the rest of the world
26 * @date Sat Nov 13 19:35:27 CET 2004
34 gnu_ext: Provide some GNU CC extensions to the rest of the world
40 # if !defined (__GNUC__)
41 # if !defined(__FUNCTION__)
42 # define __FUNCTION__ "::"
44 # if !defined(__PRETTY_FUNCTION__)
45 # define __PRETTY_FUNCTION__ ":::"
47 # endif /* !define __GNUC__ */
49 /* Local Data Types: */
51 /* Local Variables: */
53 /* Local Prototypes: */
55 /* ===================================================
57 =================================================== */
59 /* ===================================================
60 Exported Implementation:
61 =================================================== */
66 Revision 1.2 2006/07/02 16:30:17 beck
67 Fixed warnings on newer VC
69 Revision 1.1 2005/01/14 14:15:19 liekweg
70 Support GNU extensions on non-GNU platforms