X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=cfg%2Fcompiler.h;h=e9d7567ccc090905b8b24a10ffbd66f0e35cdbaf;hb=9ffcd0c4865a64d7fc713eb038dcba199d11fccb;hp=96cfa2b24c928a21da2d5a7737fa3ffa99d869b6;hpb=046f4cd759bce6d07837492c08b1246fc7a1da76;p=bertos.git diff --git a/cfg/compiler.h b/cfg/compiler.h index 96cfa2b2..e9d7567c 100755 --- a/cfg/compiler.h +++ b/cfg/compiler.h @@ -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. *#* @@ -181,6 +184,9 @@ #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 */