allow specification of names for in parameters in spec file
[libfirm] / ir / ana2 / gnu_ext.h
1 /* -*- c -*- */
2
3 /*
4  * Copyright (C) 1995-2007 University of Karlsruhe.  All right reserved.
5  *
6  * This file is part of libFirm.
7  *
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.
12  *
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.
16  *
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
19  * PURPOSE.
20  */
21
22 /**
23  * @file
24  * @brief    Provide some GNU CC extensions to the rest of the world
25  * @author   Florian
26  * @date     Sat Nov 13 19:35:27 CET 2004
27  * @version  $Id$
28  */
29 # ifdef HAVE_CONFIG_H
30 #  include "config.h"
31 # endif
32
33 /*
34   gnu_ext: Provide some GNU CC extensions to the rest of the world
35 */
36
37 /* Includes */
38
39 /* Local Defines: */
40 # if !defined (__GNUC__)
41 #  if !defined(__FUNCTION__)
42 #    define __FUNCTION__  "::"
43 #  endif
44 #  if !defined(__PRETTY_FUNCTION__)
45 #    define __PRETTY_FUNCTION__ ":::"
46 #  endif
47 # endif /* !define __GNUC__ */
48
49 /* Local Data Types: */
50
51 /* Local Variables: */
52
53 /* Local Prototypes: */
54
55 /* ===================================================
56    Local Implementation:
57    =================================================== */
58
59 /* ===================================================
60    Exported Implementation:
61    =================================================== */
62
63 \f
64 /*
65   $Log$
66   Revision 1.2  2006/07/02 16:30:17  beck
67   Fixed warnings on newer VC
68
69   Revision 1.1  2005/01/14 14:15:19  liekweg
70   Support GNU extensions on non-GNU platforms
71
72
73 */