/* -*- c -*- */
/*
- Project: libFIRM
- File name: ir/ana/gnu_ext.c
- Purpose: Provide some GNU CC extensions to the rest of the world
- Author: Florian
- Modified by:
- Created: Sat Nov 13 19:35:27 CET 2004
- CVS-ID: $Id$
- Copyright: (c) 1999-2005 Universität Karlsruhe
- Licence: This file is protected by the GPL - GNU GENERAL PUBLIC LICENSE.
-*/
+ * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved.
+ *
+ * This file is part of libFirm.
+ *
+ * This file may be distributed and/or modified under the terms of the
+ * GNU General Public License version 2 as published by the Free Software
+ * Foundation and appearing in the file LICENSE.GPL included in the
+ * packaging of this file.
+ *
+ * Licensees holding valid libFirm Professional Edition licenses may use
+ * this file in accordance with the libFirm Commercial License.
+ * Agreement provided with the Software.
+ *
+ * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
+ * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE.
+ */
+/**
+ * @file
+ * @brief Provide some GNU CC extensions to the rest of the world
+ * @author Florian
+ * @date Sat Nov 13 19:35:27 CET 2004
+ * @version $Id$
+ */
# ifdef HAVE_CONFIG_H
# include "config.h"
# endif
/* Includes */
/* Local Defines: */
-# if defined (__GNUC__)
-/* then we're all set */
-# else /* defined __GNUC__ */
-# define __FUNCTION__ "::"
-# define __PRETTY_FUNCTION__ ":::"
-# endif /* define __GNUC__ */
+# if !defined (__GNUC__)
+# if !defined(__FUNCTION__)
+# define __FUNCTION__ "::"
+# endif
+# if !defined(__PRETTY_FUNCTION__)
+# define __PRETTY_FUNCTION__ ":::"
+# endif
+# endif /* !define __GNUC__ */
/* Local Data Types: */
\f
/*
$Log$
+ Revision 1.2 2006/07/02 16:30:17 beck
+ Fixed warnings on newer VC
+
Revision 1.1 2005/01/14 14:15:19 liekweg
Support GNU extensions on non-GNU platforms