Add even more code duplication until we properly refactor debug.h.
[bertos.git] / cfg / compiler.h
index 96cfa2b24c928a21da2d5a7737fa3ffa99d869b6..e9d7567ccc090905b8b24a10ffbd66f0e35cdbaf 100755 (executable)
@@ -14,6 +14,9 @@
 
 /*#*
  *#* $Log$
+ *#* Revision 1.14  2006/02/23 08:36:33  bernie
+ *#* Emulate __func__ on MSVC.
+ *#*
  *#* Revision 1.13  2006/02/23 07:37:37  bernie
  *#* Compile fix for MSVC.
  *#*
        #define snprintf _snprintf
        #define vsnprintf _vsnprintf
 
+       /* MSVC doesn't support C99's __func__, but has a similar extension. */
+       #define __func__ __FUNCTION__
+
 #elif defined(__GNUC__)
 
        /* Compiler features */