Add specific check routine for compiling under OS X
[bertos.git] / bertos / drv / kdebug.c
index 219aadffd43792717c73b97965d14abc8f532a18..37192dd5b58e5eb57df1a163186654b86cd9ea4c 100644 (file)
@@ -38,7 +38,7 @@
  * \author Stefano Fedrigo <aleph@develer.com>
  */
 
-#include <cfg/cfg_debug.h>
+#include "cfg/cfg_debug.h"
 #include <cfg/macros.h> /* for BV() */
 #include <cfg/debug.h>
 #include <cfg/os.h>
@@ -190,7 +190,7 @@ static void klocation(const char * PGM_ATTR file, int line)
        PGM_FUNC(kputs)(PGM_STR(": "));
 }
 
-int PGM_FUNC(__assert)(const char * PGM_ATTR cond, const char * PGM_ATTR file, int line)
+int PGM_FUNC(__bassert)(const char * PGM_ATTR cond, const char * PGM_ATTR file, int line)
 {
        klocation(file, line);
        PGM_FUNC(kputs)(PGM_STR("Assertion failed: "));