Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[From A. Giersch] Fix the following compilation errors in ICO-C99 mode:
authornavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 6 Jul 2010 14:06:47 +0000 (14:06 +0000)
committernavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 6 Jul 2010 14:06:47 +0000 (14:06 +0000)
* define macro _XBT_FUNCTION

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7974 48e7efb5-ca39-0410-a469-dd3cf9ba447f

include/xbt/misc.h

index a5f1e2a..94900ff 100644 (file)
@@ -40,7 +40,7 @@
 #if defined(__GNUC__) && ! defined(__STRICT_ANSI__)
 # define _XBT_FUNCTION __FUNCTION__
 #elif (defined(__STDC__) && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L)
-# define _XBT_FUNC__ __func__   /* ISO-C99 compliant */
+# define _XBT_FUNCTION __func__   /* ISO-C99 compliant */
 #else
 # define _XBT_FUNCTION "function"
 #endif